/* LANDING PAGE DEPANNN */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start; 
    padding-top: 50px;
    background-color: var(--bg-primary);
    overflow: hidden;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 10;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.hero-wave .shape-fill {
    fill: #fde88a; 
}

.waves {
    position: relative;
    width: 100%;
    height: 100px;
    min-height: 80px;
    max-height: 150px;
}

.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}

.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

/* Keyframes Horizontal */
@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }
    100% {
        transform: translate3d(85px, 0, 0);
    }
}

/* Responsive HP */
@media (max-width: 768px) {
    .waves {
        height: 40px;
        min-height: 40px;
    }
}

.hero-text-content {
    padding-left: 0; 
}

.min-vh-80 {
    min-height: 80vh !important;
}

/* --- LAYER 1 --- */
.hero-bg-text {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    font-size: 25vw;
    font-weight: 950;
    color: var(--text-secondary);
    opacity: 0.05;
    white-space: nowrap;
    z-index: 0;
    letter-spacing: -1.5vw;
    text-align: center;
    pointer-events: none;
}

.hero-text-container {
  position: relative;
  z-index: 2;
}

.hero-title {
  color: var(--text-secondary);
  line-height: 0.9;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 1.2rem;
}


/* BAGIAN CARD PRODUK */
.modern-stack-container {
    position: relative;
    width: 100%;
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.product-title-wrapper {
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.active-product-title {
    color: var(--text-secondary); 
    font-size: 2.2rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    font-family: 'Super Kidpop', sans-serif;
}

.title-fade {
    opacity: 0;
    transform: translateY(-10px);
}

.floating-card {
    position: absolute;
    width: 300px;
    aspect-ratio: 3/4;
    border-radius: 24px;
    background: white; 
    border: 15px solid white; 
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    opacity: 0;
    z-index: 1;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.floating-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- STATE: CENTER --- */
.floating-card.active-center {
    opacity: 1;
    z-index: 10;
    transform: translate(0, 0) scale(1.05) rotate(0deg);
    pointer-events: auto;
    filter: blur(0);
}

/* --- STATE: LEFT & RIGHT --- */
.floating-card.active-left {
    opacity: 0.6;
    z-index: 5;
    transform: translate(-60px, 0) scale(0.9) rotate(-10deg);
    filter: blur(4px);
}

.floating-card.active-right {
    opacity: 0.6;
    z-index: 5;
    transform: translate(60px, 0) scale(0.9) rotate(10deg);
    filter: blur(4px);
}

/* --- HOVER: MEKAR LURUS --- */
.modern-stack-container:hover .floating-card.active-center {
    transform: translate(0, -30px) scale(1.1);
}

.modern-stack-container:hover .floating-card.active-left {
    opacity: 0.4;
    transform: translate(-250px, 0) scale(0.85) rotate(0deg);
    filter: blur(8px);
}

.modern-stack-container:hover .floating-card.active-right {
    opacity: 0.4;
    transform: translate(250px, 0) scale(0.85) rotate(0deg);
    filter: blur(8px);
}

/* Keyframe Animasi Kocok */
@keyframes cardShuffle {
    0% { transform: translate(0, 0) scale(1.05); }
    50% { transform: translate(150px, -50px) scale(0.8) rotate(15deg); z-index: 1; }
    100% { transform: translate(0, 0) scale(1.05); z-index: 10; }
}

.shuffle-anim {
    animation: cardShuffle 0.5s ease-in-out;
}

.stack-pagination {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    display: flex;
    gap: 12px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.4); 
    backdrop-filter: blur(10px);
    border-radius: 50px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 20;
}

.modern-stack-container:hover .stack-pagination {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.btn-page {
    width: 35px;
    height: 35px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 800;
    font-size: 0.9rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-page:hover {
    background: rgba(76, 32, 19, 0.1);
}

.btn-page.active {
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transform: scale(1.1);
}


/* BUTTON DEPAN */
.btn-piscok-lg {
    background-color: var(--text-secondary);
    color: var(--bg-primary) !important;
    padding: 15px 45px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    border: none;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(30px);
    animation: btnReveal 0.8s ease forwards;
    animation-delay: 1.8s;
    transition: all 0.3s ease;
}

@keyframes btnReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-piscok-lg:hover {
    background-color: #000;
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 30px rgba(76, 32, 19, 0.3);
}




/* ANIMASI TEXT DEPAN */
.stagger-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  animation: heroSlideUp 0.8s ease-out forwards;
}

.stagger-line {
    width: fit-content; 
    position: relative;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--bg-primary);
    overflow: hidden;
    margin-bottom: 5px;
}

.stagger-line span {
  position: relative;
  z-index: 2;
  display: block;
  opacity: 0;
  padding: 0 15px;
  animation: textReveal 0.1s linear forwards;
}

.stagger-line::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--text-secondary);
    z-index: 1;
    transform: scaleX(0);
    transform-origin: left;
    animation: blockSlideRight 0.6s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
}

.stagger-line:nth-child(1)::after,
.stagger-line:nth-child(1) span {
  animation-delay: 0.5s;
}
.stagger-line:nth-child(2)::after,
.stagger-line:nth-child(2) span {
  animation-delay: 0.8s;
}
.stagger-line:nth-child(3)::after,
.stagger-line:nth-child(3) span {
  animation-delay: 1.1s;
}
.stagger-line:nth-child(4)::after,
.stagger-line:nth-child(4) span {
  animation-delay: 1.4s;
}

@keyframes blockSlideRight {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

@keyframes textReveal {
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .stagger-line {
    font-size: 2.5rem;
  }
}




/* --- ABOUT SECTION PREMIUM (CLEAN COCKTAIL) --- */
.about-section-premium {
    background-color: #FFFFFF;
    color: var(--text-secondary); 
    padding: 0; 
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.about-section-premium {
    background-color: #FFFFFF;
    color: var(--text-secondary); 
    position: relative;
    z-index: 2;
}

.about-img-box {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(76, 32, 19, 0.08);
}

.about-img-box img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.about-subtitle {
    color: var(--text-secondary); 
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 700;
    margin-bottom: 10px;
}

.brand-heading-premium {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--text-secondary);
}

/* Highlight kuning bersih */
.about-highlight-clean {
    font-weight: 900;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    padding: 2px 18px;
    border: none !important; 
    display: inline-block;
    transform: rotate(-1deg); 
    box-shadow: 4px 4px 0px rgba(0,0,0,0.08); 
}

.brand-description-premium {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #444444; 
    margin-bottom: 40px;
    max-width: 550px;
    font-weight: 500;
}

/* --- List Poin Fitur --- */
.about-feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.about-feature-list i {
    color: var(--text-secondary); 
    font-size: 1.2rem;
    margin-right: 15px;
    background-color: var(--bg-primary); 
    padding: 10px;
    border-radius: 50%;
    border: 2px solid var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    box-shadow: 3px 3px 0px rgba(0,0,0,0.1);
}

/* --- STYLING BUTTON ORDER NOW --- */
.btn-about-order {
    background-color: var(--text-secondary); 
    color: var(--bg-primary) !important;
    padding: 14px 35px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 3px solid var(--text-secondary);
    box-shadow: 5px 5px 0px #000000;
    transition: all 0.2s ease-in-out;
}

.btn-about-order i {
    transition: transform 0.2s ease;
}

/* Efek Hover Interaktif */
.btn-about-order:hover {
    background-color: var(--bg-primary);
    color: var(--text-secondary) !important;
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0px #000000;
}

.btn-about-order:hover i {
    transform: translateX(5px);
}

/* --- Responsif Mobile --- */
@media (max-width: 991px) {
    .brand-heading-premium {
        font-size: 2.8rem;
    }
    .about-highlight-clean {
        font-size: 2.6rem;
        padding: 2px 10px;
    }
    .about-content {
        margin-top: 20px;
        text-align: center;
    }
    .about-feature-list li {
        justify-content: center;
        text-align: left;
    }
}


/* WHY SECTION */
.why-section-clean {
    background-color: #FFFFFF;
}

.why-title {
    color: var(--text-secondary);
    letter-spacing: -0.5px;
}

.why-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 10px 25px rgba(76, 32, 19, 0.08); 
}

.why-img-wrapper img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.why-row:hover .why-img-wrapper img {
    transform: scale(1.05);
}

/* Penyesuaian text alignment untuk mobile agar tetap rapi */
@media (max-width: 991.98px) {
    .why-row {
        text-align: center !important;
    }
    .why-row .text-lg-end {
        text-align: center !important;
    }
}

/* TESTIMONI SECTION */
.testimonials-section-wavy {
    background-color: var(--bg-primary);
    position: relative;
    padding: 0;
    z-index: 1;
}

.testi-container-wavy {
    padding: 140px 0 160px 0;
}

.wave-divider {
    position: absolute;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 0;
}

.wave-top { top: -1px; }
.wave-bottom { bottom: -1px; }

.wave-divider svg {
    width: calc(100% + 1.3px);
    height: 110px;
}

/* --- HEADERS & BADGES --- */
.text-secondary-brand {
    color: var(--text-secondary) !important;
}

.highlight-white-clean {
    font-weight: 900;
    color: var(--text-secondary);
    background-color: #FFFFFF;
    padding: 2px 18px;
    border: none !important;
    display: inline-block;
    transform: rotate(-1deg); 
    box-shadow: 4px 4px 0px rgba(76, 32, 19, 0.08);
}

.trusted-badge {
    display: inline-flex;
    align-items: center;
    background-color: #FFFFFF;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid #FFFFFF;
    box-shadow: 0 5px 15px rgba(76, 32, 19, 0.08); 
    font-size: 0.9rem;
}

/* --- MINIMALIST CARDS --- */
.testi-card-modern {
    background-color: #FFFFFF;
    border-radius: 24px;
    padding: 40px 30px;
    border: none;
    box-shadow: 0 15px 35px rgba(76, 32, 19, 0.06);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testi-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(76, 32, 19, 0.12);
}

.quote-icon {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 4rem;
    color: #F8F5F0;
    line-height: 1;
    z-index: 0;
}

.stars-gold {
    color: var(--bg-primary); 
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.testi-text {
    color: #555555;
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 500;
    font-style: italic;
    flex-grow: 1; 
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

/* Profil User */
.testi-user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    border-color: #F0ECE4 !important;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #FBF9F6;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 2px;
}

.user-role {
    color: #888888;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsif Mobile */
@media (max-width: 768px) {
    .testi-container-wavy {
        padding: 90px 0 110px 0;
    }
    .trusted-badge {
        flex-direction: column;
        text-align: center;
        gap: 5px;
        padding: 12px 20px;
    }
    .testi-card-modern {
        padding: 30px 20px;
    }
}



/* MOBILEE */
@media (max-width: 768px) {
    .hero-text-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .hero-section {
        min-height: 100vh; 
        height: auto; 
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-bottom: 180px !important; 
        padding-top: 60px;
    }

    .stagger-wrapper {
        margin-bottom: 10px;
    }

    .product-title-wrapper {
        margin-top: 30px;
        margin-bottom: 10px;
    }
    
    .active-product-title {
        font-size: 2.2rem;
    }

    /* Area Kartu */
    .modern-stack-container {
        height: 250px;
        margin-top: 40px;
    }

    .floating-card {
        width: 180px; 
        border: 10px solid white;
    }

    .stack-pagination {
        bottom: -30px; 
        padding: 5px 15px;
    }

    .btn-page {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .hero-wave {
        position: absolute;
        bottom: 0;
        left: 0;
    }
}