.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    padding-top: 42px;
    padding-bottom: 10px;
}

/* Avatar */

.avatar-ring {
    padding: 3px;
    /* ketebalan ring */
    border-radius: 50%;

    background: linear-gradient(135deg,
        #ffb000,
        #ffe500 40%,
        #ffc700 70%,
        #ff9900);

    box-shadow:
        0 0 25px rgba(255, 180, 0, 0.25),
        0 10px 30px rgba(0, 0, 0, 0.4);

    display: inline-block;
}

.avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

/* ============================= */
/* TYPOGRAPHY BASE */
/* ============================= */

.intro {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 8px;
    letter-spacing: -0.02em;

    background: linear-gradient(135deg,
        #6f6f6f 0%,
        #ffffff 40%,
        #f0f0f0 70%,
        #9a9a9a 100%);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* ============================= */
/* MAIN HEADLINE */
/* ============================= */

.headline {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.2;
    max-width: 700px;

    /* Metallic soft gradient */
    background: linear-gradient(135deg,
        #5c5c5c 0%,
        #ffffff 30%,
        #ffffff 65%,
        #8a8a8a 100%);

    background-size: 200% 200%;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* Subtle depth */
    filter: contrast(1.05);
}


/* ============================= */
/* YELLOW HIGHLIGHT (Isaac vibe) */
/* ============================= */

.highlight {
    font-weight: 800;

    background: radial-gradient(circle at 30% 30%,
        #ffb000,
        #ffe500 40%,
        #ffc700 70%,
        #ff9900);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* ============================= */
/* LR ICON */
/* ============================= */

.lr-icon {
    height: 1em;
    width: auto;

    padding: 2px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);

    box-shadow:
        inset 0 1px 2px #ffffff30,
        0 1px 2px #00000030,
        0 2px 4px #00000015;

    vertical-align: -0.12em;
    margin: 0 6px;
}


/* ============================= */
/* OPTIONAL SHINE ANIMATION */
/* ============================= */

/* Uncomment if you want subtle movement */

/*
    @keyframes shine {
      0% { background-position: 0% 50%; }
      100% { background-position: 100% 50%; }
    }

    .headline {
      animation: shine 8s linear infinite;
    }
    */


/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 768px) {
    .headline {
        font-size: 20px;
    }
}

/* ===== PRESET CARD SECTION ===== */

.preset-card {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.card {
    background: oklch(0.2 0 264);
    border-radius: .5rem;
    padding: 12px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: inset 0 1px 2px #ffffff30, 0 1px 2px #00000030, 0 2px 4px #00000015;
    transition: 0.4s ease;
}

.card-image {
    width: 100%;
    border-radius: .5rem;
    margin-bottom: 14px;
}

.card-title {
    font-size: 18px;
    font-weight: bolder;
    margin-bottom: 20px;

    background: linear-gradient(135deg,
        #7a7a7a 0%,
        #ffffff 40%,
        #f2f2f2 70%,
        #9a9a9a 100%);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    filter: contrast(1.03);
}

/* ===== CTA BUTTON ===== */

/* ===== BUTTON GROUP ===== */

.button-group {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

/* ============================= */
/* PRICE TAG */
/* ============================= */

.price-tag {
    padding: 14px 18px;
    border-radius: .5rem;
    font-weight: 600;
    font-size: 14px;
    color: #f5b400;
    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg,
        rgba(245, 180, 0, 0.15),
        rgba(255, 204, 77, 0.08));

    border: 1px solid rgba(245, 180, 0, 0.35);

    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.25),
        0 2px 6px rgba(0, 0, 0, 0.2);
}


/* ============================= */
/* MAIN CTA */
/* ============================= */

.download-btn {
    flex: 1;
    padding: 14px;
    border-radius: .5rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    color: #000;

    background: linear-gradient(135deg,
        #ffb000,
        #ffe500 40%,
        #ffc700 70%,
        #ff9900);

    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.4),
        0 4px 12px rgba(255, 180, 0, 0.25),
        0 2px 4px rgba(0, 0, 0, 0.15);

    transition: all 0.3s ease;
}


/* Hover State */

.download-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.5),
        0 8px 24px rgba(255, 180, 0, 0.35),
        0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ===== HELPER TEXT ===== */

.helper-text {
    font-size: 13px;
    color: #888;
    margin-top: 12px;
}

/* ===== SECTION ===== */

.testimonial-section {
    padding: 20px;
}

/* ===== WRAPPER ===== */

.carousel-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* ===== CAROUSEL ===== */

.carousel {
    overflow: hidden;
}

.carousel h4 {
    margin-bottom: 10px;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.6s cubic-bezier(.22, .61, .36, 1);
}

/* ===== CARD ===== */

.card-carousel {
    flex: 0 0 calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
    background: oklch(0.2 0 264);
    box-shadow: inset 0 1px 2px #ffffff30, 0 1px 2px #00000030, 0 2px 4px #00000015;
    padding: 25px;
    border-radius: .5rem;
}

.avatar-carousel {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

/* ===== NAV ===== */

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    z-index: 100;
}

.nav:hover {
    opacity: 1;
}

.prev {
    left: -25px;
}

.next {
    right: -25px;
}

/* ===== MOBILE ===== */

@media (max-width: 768px) {

    .carousel-wrapper {
        max-width: 100%;
    }

    .carousel-track {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .card-carousel {
        flex: 0 0 90%;
        max-width: 90%;
        scroll-snap-align: center;
    }

    .nav {
        display: none;
    }

    .section-title {
        text-align: center;
        margin-bottom: 20px;
        font-weight: 700;

        background: linear-gradient(135deg,
            #7a7a7a 0%,
            #ffffff 40%,
            #f2f2f2 70%,
            #9a9a9a 100%);

        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;

        filter: contrast(1.03);
    }
}

.section-inner {
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 42px;
    font-weight: 700;

    background: linear-gradient(135deg,
        #7a7a7a 0%,
        #ffffff 40%,
        #f2f2f2 70%,
        #9a9a9a 100%);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    filter: contrast(1.03);
}

/* === SLIDER WRAPPER === */

/* ============================= */
/* ============================= */
/* BEFORE AFTER SECTION */
/* ============================= */

.before-after-section {
    padding: 60px 20px 10px;
}

/* Wrapper */
.before-after-section .section-inner {
    max-width: 420px;
    margin: 0 auto;
}

/* ============================= */
/* DESKTOP GRID LAYOUT */
/* ============================= */

@media (min-width: 769px) {

    .before-after-section .section-inner {
        max-width: 900px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .before-after-section .section-title {
        grid-column: 1 / -1;
    }

    /* Portrait → 2 kolom */
    .iac-slider.half {
        grid-column: span 1;
    }

    /* Horizontal → full width */
    .iac-slider:not(.half) {
        grid-column: 1 / -1;
    }
}

/* ============================= */
/* SLIDER CARD STYLE */
/* ============================= */

.iac-slider {
    position: relative;
    width: 100%;
    border-radius: .75rem;
    overflow: hidden;
    background: #111;

    box-shadow:
        inset 0 1px 2px #ffffff30,
        0 1px 2px #00000030,
        0 2px 4px #00000015;
}

/* Image follow natural ratio */
.iac-slider img {
    width: 100%;
    display: block;
}

/* AFTER IMAGE overlay */

.iac-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    clip-path: inset(0 50% 0 0);
}

/* ============================= */
/* HANDLE */
/* ============================= */

.iac-handle {
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    transform: translateX(-50%);
    pointer-events: none;
}

.iac-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
}

.iac-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

/* ============================= */
/* RANGE */
/* ============================= */

.iac-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
}

/* ============================= */
/* BACK TO TOP BUTTON */
/* ============================= */

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: .75rem;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: #000;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg,
        #ffb000,
        #ffe500 40%,
        #ffc700 70%,
        #ff9900);

    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.4),
        0 4px 12px rgba(255, 180, 0, 0.25),
        0 2px 4px rgba(0, 0, 0, 0.15);

    transition: all 0.3s ease;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    z-index: 999;
}

/* Hover */

.back-to-top:hover {
    transform: translateY(-3px);

    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.5),
        0 8px 24px rgba(255, 180, 0, 0.35),
        0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Show state */

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ============================= */
/* FOLLOW SECTION */
/* ============================= */

.follow-section {
    padding: 60px 20px 20px;
    display: flex;
    justify-content: center;
}

/* Samakan lebar dengan preset card */

.follow-main-card {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

/* ============================= */
/* FOLLOW TAG STYLE */
/* ============================= */

.follow-button-group {
    display: flex;
    gap: 10px;
}

.follow-tag {
    flex: 1;
    padding: 14px 18px;
    border-radius: .5rem;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.3s ease;
}

/* ============================= */
/* TIKTOK – GLITCH GLASS */
/* ============================= */

.tiktok-tag {
    color: #00f2ea;

    background: linear-gradient(135deg,
        rgba(0, 242, 234, 0.12),
        rgba(255, 0, 80, 0.08));

    border: 1px solid rgba(0, 242, 234, 0.35);

    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.25),
        0 2px 6px rgba(0, 0, 0, 0.2);
}

.tiktok-tag:hover {
    transform: translateY(-3px);

    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.35),
        0 8px 20px rgba(0, 242, 234, 0.25);
}

/* ============================= */
/* INSTAGRAM – DARK PINK GLASS */
/* ============================= */

.instagram-tag {
    color: #e1306c;

    background: linear-gradient(135deg,
        rgba(225, 48, 108, 0.15),
        rgba(131, 58, 180, 0.08));

    border: 1px solid rgba(225, 48, 108, 0.35);

    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.25),
        0 2px 6px rgba(0, 0, 0, 0.2);
}

.instagram-tag:hover {
    transform: translateY(-3px);

    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.35),
        0 8px 20px rgba(225, 48, 108, 0.25);
}

/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width: 768px) {

    .follow-button-group {
        flex-direction: row;
    }

    .follow-main-card {
        max-width: 420px;
    }

    .iac-slider {
        margin-top: 20px;
    }
}


/* ============================= */
/* FOOTER */
/* ============================= */

.site-footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer p {
    font-size: 13px;

    background: linear-gradient(135deg,
        #7a7a7a 0%,
        #ffffff 40%,
        #bcbcbc 100%);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



/* ============================= */
/* PREMIUM PURCHASE POPUP */
/* ============================= */

.purchase-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 340px;
  padding: 14px 16px;
  border-radius: .75rem;

  background: oklch(0.2 0 264);
  border: 1px solid rgba(255,255,255,0.06);

  box-shadow:
    inset 0 1px 2px #ffffff30,
    0 1px 2px #00000030,
    0 2px 6px #00000025;

  font-size: 13px;
  line-height: 1.4;
  color: var(--text-primary);

  opacity: 0;
  transform: translateY(20px);
  transition: all 0.45s cubic-bezier(.22,.61,.36,1);

  z-index: 9999;
}

.purchase-popup strong {
  font-weight: 600;
}

.popup-time {
  color: var(--text-secondary);
  font-size: 12px;
}

.popup-highlight {
  color: var(--accent);
  font-weight: 600;
}

.purchase-popup.show {
  opacity: 1;
  transform: translateY(0);
}

.popup-image {
  border: 1px solid rgba(255,255,255,0.06);
}

/* ============================= */
/* MOBILE FULL WIDTH */
/* ============================= */

@media (max-width: 600px) {

  .purchase-popup {
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100%;
    border-radius: 0;
    transform: translateY(100%);
  }

  .purchase-popup.show {
    transform: translateY(0);
  }

}


/* ============================= */
/* POPUP LAYOUT UPGRADE */
/* ============================= */

.popup-inner {
  display: flex;
  gap: 12px;
  align-items: center;
}

.popup-image {
  width: 48px;
  height: 48px;
  border-radius: .5rem;
  object-fit: cover;
  flex-shrink: 0;

  box-shadow:
    inset 0 1px 2px #ffffff30,
    0 2px 6px #00000040;
}

.popup-content p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
}

/* Accent highlight */
.popup-highlight {
  color: var(--accent);
  font-weight: 600;
}

.popup-time {
  color: var(--text-secondary);
  font-size: 12px;
}

/* Mobile full width tetap rapi */
@media (max-width: 600px) {
  .popup-inner {
    align-items: flex-start;
  }

  .popup-image {
    width: 42px;
    height: 42px;
  }
}