@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200..800;1,200..800&family=Nata+Sans:wght@100..900&family=Outfit:wght@100..900&display=swap');

:root {
    --primary: #D4AF37; /* Gold utama */
    --primary-dark: #B8860B; /* Gold lebih gelap */
    --black: #121212; /* Hitam pekat */
    --black-light: #1E1E1E; /* Hitam lebih terang */
    --black-lighter: #2A2A2A; /* Hitam paling terang */
    --text-light: #F0F0F0; /* Teks terang */
    --text-gray: #AAAAAA; /* Teks abu-abu */
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: "Outfit", sans-serif;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
}

::-webkit-scrollbar {
    display: none;
}

body {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background: var(--black); /* Background hitam */
    color: var(--text-light); /* Warna teks default */
}

body.fade-in {
    opacity: 1;
}

.container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

/* ========== MOBILE HEADER ========== */
.mobile-header {
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999;
    padding: 10px 15px;
    background: var(--black-light); /* Background header hitam */
}

.mobile-header.scrolled {
    background: var(--black-light);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.1); /* Shadow dengan sentuhan gold */
    border-bottom: 2px solid rgba(212, 175, 55, 0.2); /* Border gold transparan */
}

.mobile-header .logo {
    width: 40px;
    border-radius: 10px;
    border: 1px solid var(--primary); /* Border gold pada logo */
}

.mobile-header h2 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    margin-left: 10px;
    color: var(--primary); /* Warna gold */
    width: 100%;
}

.mobile-header .nav-mobile {
    border: none;
    background: transparent;
    outline: none;
}

.mobile-header .nav-mobile img {
    width: 25px;
    opacity: .7;
    filter: brightness(0) saturate(100%) invert(77%) sepia(40%) saturate(566%) hue-rotate(3deg) brightness(90%) contrast(90%); /* Ikon menjadi gold */
}

/* Menu Box */
#box {
    position: fixed;
    top: -350px;
    left: 3%;
    width: 93.5%;
    padding: 20px;
    background-color: var(--black-light); /* Background hitam */
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.15); /* Shadow gold */
    border: 1px solid rgba(212, 175, 55, 0.1); /* Border gold transparan */
    transition: top 0.5s ease;
    z-index: 100;
}

#box.show {
    top: 70px;
}

#box h4 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary); /* Warna gold */
}

#box a {
    width: 100%;
    text-decoration: none;
}

#box a button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 7px;
    border: none;
    background: var(--black-lighter); /* Background tombol hitam */
    width: 100%;
    color: var(--text-light); /* Teks terang */
    transition: all 0.3s ease;
}

#box a button:hover {
    color: var(--black); /* Teks menjadi hitam saat hover */
    background: var(--primary); /* Background menjadi gold */
}

#box a button img {
    width: 23px;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%); /* Ikon putih */
}

#box a button:hover img {
    filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%); /* Ikon hitam saat hover */
}

/* Hamburger Menu */
.hamburger {
    cursor: pointer;
}

.hamburger input {
    display: none;
}

.hamburger svg {
    height: 3em;
    transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line {
    fill: none;
    stroke: var(--primary); /* Stroke gold */
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
                stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line-top-bottom {
    stroke-dasharray: 12 63;
}

.hamburger input:checked + svg {
    transform: rotate(-45deg);
}

.hamburger input:checked + svg .line-top-bottom {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42;
}

/* ========== DEKSTOP HEADER ========== */
.dekstop-header {
    display: none;
    align-items: center;
    gap: 15px;
    padding: 15px;
    padding-left: 100px;
    padding-right: 100px;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 999;
    background: rgba(18, 18, 18, 0.95) !important; /* Background hitam transparan */
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2); /* Border gold transparan */
}

.dekstop-header .logo {
    width: 40px;
    border-radius: 10px;
    border: 1px solid var(--primary); /* Border gold */
}

.dekstop-header h2 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    margin-left: 10px;
    color: var(--primary); /* Warna gold */
    width: 100%;
}

.dekstop-header.scrolled {
    background: var(--black-light) !important;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.1);
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.dekstop-header .btn-nav {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.dekstop-header .btn-nav button {
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    padding: 10px;
    cursor: pointer;
    position: relative;
    color: var(--text-light); /* Teks terang */
    transition: color 0.3s ease;
}

.dekstop-header .btn-nav button:hover,
.dekstop-header .btn-nav button.active {
    color: var(--primary); /* Warna gold saat hover/active */
}

.dekstop-header .btn-nav .slider {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--primary); /* Warna gold */
    transition: all 0.3s ease;
}

/* ========== HERO SECTION ========== */
.hero {
    margin-top: 10px;
    padding: 10px;
}

.hero p {
    color: var(--primary); /* Warna gold */
    font-size: 14px;
}

.hero h1 {
    font-size: 25px;
    font-weight: bold;
    color: var(--text-light); /* Teks terang */
}

.hero-img {
    display: grid;
    place-items: center;
    margin-top: 30px;
}

.hero-img img {
    width: 95%;
    transition: opacity 1s ease-in-out, transform 0.3s ease;
    opacity: 0;
    grid-area: 1 / 1 / 2 / 2;
    border-radius: 15px;
    border: 2px solid rgba(212, 175, 55, 0.2); /* Border gold transparan */
}

.hero-img img.active {
    opacity: 1;
}

.hero-img img:hover {
    transform: scale(1.05);
    border-color: var(--primary); /* Border gold saat hover */
}

.download {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.download h5 {
    margin: 0;
    font-size: 15px;
    letter-spacing: 1px;
    color: var(--primary); /* Warna gold */
}

/* Download Button */
.Download-button {
    display: flex;
    align-items: center;
    font-family: inherit;
    font-weight: 500;
    font-size: 17px;
    padding: 12px 20px;
    color: var(--black); /* Teks hitam */
    background: linear-gradient(
        120deg,
        #D4AF37,  /* Gold */
        #FFD700,  /* Gold terang */
        #B8860B,  /* Gold gelap */
        #F5C518   /* Gold medium */
    );
    background-size: 400% 400%;
    border: none;
    box-shadow: 0 0.7em 1.5em -0.5em rgba(212, 175, 55, 0.4); /* Shadow gold */
    letter-spacing: 0.05em;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    animation: gradientScroll 8s linear infinite;
}

@keyframes gradientScroll {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 400% 50%;
    }
}

.Download-button svg {
    margin-right: 8px;
    width: 25px;
}

.Download-button:hover {
    box-shadow: 0 0.5em 1.5em -0.5em rgba(212, 175, 55, 0.6);
    border-top-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.Download-button:active {
    box-shadow: 0 0.3em 1em -0.5em rgba(212, 175, 55, 0.6);
}

.Download-button::before,
.Download-button::after {
    content: "";
    width: 4px;
    height: 40%;
    background-color: var(--black); /* Garis hitam */
    position: absolute;
    transition: all 0.2s;
}

.Download-button::before {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    left: 0;
}

.Download-button::after {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    right: 0;
}

.Download-button:hover::before,
.Download-button:hover::after {
    height: 60%;
}

.Download-button:hover::before {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    transform: translate(5px, -15px) rotate(45deg);
}

.Download-button:hover::after {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    transform: translate(-5px, 15px) rotate(45deg);
}

/* ========== FEATURE SECTION ========== */
.grid-responsive {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.feature {
    margin-top: 65px;
}

.feature h2 {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    position: relative;
    color: var(--primary); /* Warna gold */
}

.feature p {
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-gray); /* Teks abu-abu */
    text-align: center;
}

.feature h2::before,
.feature h2::after {
    content: "";
    display: inline-block;
    width: 30px;
    height: 2px;
    background-color: var(--primary); /* Warna gold */
    vertical-align: middle;
    margin: 0 10px;
}

.the-feature {
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    user-select: none;
    gap: 15px;
    padding: 12px;
    border-radius: 10px;
    background: var(--black-light); /* Background hitam */
    border: 1px solid rgba(212, 175, 55, 0.1); /* Border gold transparan */
}

.the-feature:hover {
    background: var(--black-lighter);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.1);
    transform: scale(1.05);
    border-color: var(--primary); /* Border gold saat hover */
}

.the-feature img {
    width: 30px;
    height: 30px;
    filter: brightness(0) saturate(100%) invert(77%) sepia(40%) saturate(566%) hue-rotate(3deg) brightness(90%) contrast(90%); /* Ikon gold */
}

.the-feature h5 {
    font-size: 13px;
    color: var(--text-light); /* Teks terang */
}

.the-feature p {
    font-size: 11px;
    color: var(--text-gray); /* Teks abu-abu */
    margin: 0;
    text-align: left;
}

/* ========== STEP TRANSACTION ========== */
.grid-responsive-step {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
}

.step-transaction {
    margin-top: 85px;
}

.step-transaction h2 {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    position: relative;
    color: var(--primary); /* Warna gold */
}

.step-transaction p {
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-gray); /* Teks abu-abu */
    text-align: center;
}

.step-transaction h2::before,
.step-transaction h2::after {
    content: "";
    display: inline-block;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary)); /* Gradient gold */
    vertical-align: middle;
    margin: 0 10px;
}

.step {
    padding: 12px;
    border-radius: 10px;
    background: var(--black-light); /* Background hitam */
    border: 1px solid rgba(212, 175, 55, 0.1); /* Border gold transparan */
}

.step .number {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.step .number button {
    transform: skew(-15deg) !important;
    transition: background 0.3s !important;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--primary); /* Background gold */
    color: var(--black); /* Teks hitam */
    font-size: 16px;
    font-weight: bold;
    padding: 5px 10px;
    border: none;
    border-radius: 3px;
}

.step .number h4 {
    font-style: italic;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light); /* Teks terang */
}

.step p {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-gray); /* Teks abu-abu */
    text-align: left !important;
}

/* ========== TESTIMONI ========== */
.testimoni {
    margin-top: 85px;
}

.testimoni h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    color: var(--primary); /* Warna gold */
}

.testimoni h2::before,
.testimoni h2::after {
    content: "";
    display: inline-block;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary)); /* Gradient gold */
    vertical-align: middle;
    margin: 0 10px;
}

.carousel {
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    transition: transform 0.5s ease-in-out;
}

.box-testi {
    background: var(--black-light); /* Background hitam */
    color: var(--text-light); /* Teks terang */
    padding: 25px;
    border-radius: 10px;
    font-weight: bold;
    flex: 0 0 calc((100% - 30px) / 3);
    box-sizing: border-box;
    border: 1px solid rgba(212, 175, 55, 0.1); /* Border gold transparan */
}

.box-testi .user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.box-testi .user img {
    width: 45px;
    height: 45px;
    border-radius: 100px;
    border: 2px solid var(--primary); /* Border gold */
}

.box-testi .user h5 {
    font-size: 15px;
    font-weight: bold;
    color: var(--text-light); /* Teks terang */
}

.box-testi p {
    font-size: 14px;
    font-weight: 400;
    margin-top: 20px;
    color: var(--text-gray); /* Teks abu-abu */
}

/* ========== BACK TO TOP ========== */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: -80px;
    cursor: pointer;
    transition: right 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    z-index: 999;
}

#backToTop.show {
    right: 30px;
    opacity: 1;
}

.button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary); /* Background gold */
    border: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 0px 4px rgba(212, 175, 55, 0.3); /* Shadow gold */
    cursor: pointer;
    transition-duration: 0.3s;
    overflow: hidden;
    position: relative;
}

.svgIcon {
    width: 12px;
    transition-duration: 0.3s;
}

.svgIcon path {
    fill: var(--black); /* Ikon hitam */
}

.button:hover {
    width: 140px;
    border-radius: 50px;
    transition-duration: 0.3s;
    background-color: var(--primary-dark); /* Gold lebih gelap saat hover */
    align-items: center;
}

.button:hover .svgIcon {
    transition-duration: 0.3s;
    transform: translateY(-200%);
}

.button::before {
    position: absolute;
    bottom: -20px;
    content: "Back to Top";
    color: var(--black); /* Teks hitam */
    font-size: 0px;
}

.button:hover::before {
    font-size: 13px;
    opacity: 1;
    bottom: unset;
    transition-duration: 0.3s;
}

/* ========== KEUNGGULAN ========== */
@keyframes hithere {
    30% { transform: scale(1.2); }
    40%, 60% { transform: rotate(-20deg) scale(1.2); }
    50% { transform: rotate(20deg) scale(1.2); }
    70% { transform: rotate(0deg) scale(1.2); }
    100% { transform: scale(1); }
}

.keunggulan-layanan {
    margin-top: 85px;
    margin-bottom: 20px;
}

.grid-keunggulan {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.keunggulan {
    background: var(--black-light); /* Background hitam */
    padding: 20px;
    padding-top: 30px;
    border-radius: 10px;
    position: relative;
    margin-top: 45px;
    border: 1px solid rgba(212, 175, 55, 0.1); /* Border gold transparan */
}

.keunggulan img {
    width: 55px;
    position: absolute;
    top: -35px;
    background: var(--black); /* Background hitam */
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2); /* Shadow gold */
    animation: hithere 3s ease infinite;
    border: 2px solid var(--primary); /* Border gold */
}

.keunggulan p {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light); /* Teks terang */
}

/* ========== METODE PEMBAYARAN ========== */
.metode-pembayaran {
    margin-bottom: 25px;
}

.metode-pembayaran h2 {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    position: relative;
    color: var(--primary); /* Warna gold */
    margin-top: 85px;
    margin-bottom: 25px;
}

.metode-pembayaran img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.1); /* Border gold transparan */
}

.metode-pembayaran h2::before,
.metode-pembayaran h2::after {
    content: "";
    display: inline-block;
    width: 30px;
    height: 2px;
    background-color: var(--primary); /* Warna gold */
    vertical-align: middle;
    margin: 0 10px;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--black); /* Background hitam */
    padding: 40px 20px;
    color: var(--text-light); /* Teks terang */
    font-family: "Outfit", sans-serif;
    border-top: 2px solid rgba(212, 175, 55, 0.2); /* Border gold transparan */
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: space-between;
}

.footer-col {
    flex: 1 1 250px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary); /* Warna gold */
}

.footer-col p,
.footer-col ul {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-gray); /* Teks abu-abu */
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: var(--text-light); /* Teks terang */
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary); /* Warna gold saat hover */
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 13px;
    color: var(--text-gray); /* Teks abu-abu */
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.1); /* Border gold transparan */
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .box-testi {
        flex: 0 0 calc((100% - 15px) / 2);
    }
    .footer-container {
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .carousel-track {
        flex-direction: column;
        gap: 10px;
    }
    .box-testi {
        flex: 0 0 100%;
    }
    .footer {
        padding: 30px 15px;
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-col {
        flex: unset;
        width: 100%;
        margin-bottom: 0px;
    }
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
    .hero img {
        width: 70%;
    }
    .dekstop-header {
        display: none;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
    .grid-responsive {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-responsive-step {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-keunggulan {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero img {
        width: 80%;
    }
    .hero-img {
        margin-top: 30px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
    .mobile-header {
        display: none;
    }
    .dekstop-header {
        display: flex;
    }
    .grid-responsive {
        grid-template-columns: repeat(4, 1fr);
    }
    .grid-responsive-step {
        grid-template-columns: repeat(4, 1fr);
    }
    .grid-keunggulan {
        grid-template-columns: repeat(4, 1fr);
    }
    .the-feature img {
        width: 40px;
        height: 40px;
    }
    .the-feature h5 {
        font-size: 15px;
    }
    .the-feature p {
        font-size: 12px;
    }
    .hero {
        display: flex;
        gap: 25px;
        margin-top: 50px;
    }
    .hero img {
        width: 40%;
    }
    .hero-img {
        margin-top: 0px;
    }
    .hero p {
        font-size: 20px;
    }
    .hero h1 {
        font-size: 30px;
    }
    .metode-pembayaran img {
        width: 50%;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}