* {
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    margin: 0;
}
html {
  scroll-behavior: smooth;
}
nav {
    height: 8vh;
    background-color: pink;
    display: flex;
    align-items: center;
    padding: 0 15px;
    margin-bottom:20%;
}

nav .brand {
    font-weight: 700;
    font-size: 150%;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 10px;
    margin-left: auto;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: #111;
    font-weight: 600;
    opacity: 0.85;
}

nav ul li a:hover {
    opacity: 1;
}



.selogan {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.slogn h1 {
    font-size: 3rem;
    margin: 0;
    line-height: 1.1;
}

.slogn .primary {
    color: #111;
}

.slogn .accent {
    color: #ff5fa2; /* pink soft */
}

.slogn p {
    max-width: 520px;
    margin: 16px auto 32px;
    font-size: 1.5rem;
    color: #555;
}

/* Button */
.btn-primary {
    text-decoration: none;
    background: #111;
    color: #fff;
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: #ff5fa2;
    transform: translateY(-2px);
}


.pilih {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.pilih h1 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.pilih p {
    max-width: 560px;
    color: #555;
    line-height: 1.6;
}

/* Animasi */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


.produk {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    padding: 80px 20px;
    max-width: 1100px;
    margin: auto;
}

.card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h3 {
    margin: 16px 20px 8px;
}

.card p {
    margin: 0 20px;
    font-size: 0.95rem;
    color: #666;
}

.price {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 16px 20px;
}

/* Button area */
.action {
    display: flex;
    gap: 12px;
    padding: 0 20px 24px;
}

.btn {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

/* Demo */
.btn.demo {
    background: #f1f1f1;
    color: #111;
}

.btn.demo:hover {
    background: #111;
    color: #fff;
}

/* Buy */
.btn.buy {
    background: #ff5fa2;
    color: #fff;
}

.btn.buy:hover {
    background: #111;
}

/* Highlight */
.card.highlight {
    border: 2px solid #ff5fa2;
    transform: scale(1.03);
}

.footer {
    background: #111;
    color: #aaa;
    padding-top: 60px;
    margin-top: 80px;
}

.footer-wrap {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.footer-brand h3 {
    margin: 0;
    font-size: 1.4rem;
    color: #fff;
}

.footer-brand p {
    max-width: 420px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: #aaa;
    font-size: 1.2rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
    color: #ff5fa2;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #222;
    padding: 16px 20px;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}




.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.modal-box {
    background: #fff;
    padding: 28px;
    border-radius: 18px;
    width: 100%;
    max-width: 380px;
    position: relative;
}

.modal-box h3 {
    margin-top: 0;
    text-align: center;
}

.close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 22px;
    cursor: pointer;
}

.row {
    display: flex;
    justify-content: space-between;
    margin: 16px 0;
}

.total {
    font-size: 1.2rem;
}

select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.contact {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.contact a {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    background: #111;
    color: #fff;
}

.contact a:hover {
    background: #ff5fa2;
}

.support {
    margin: 80px auto;
    padding: 60px 20px;
    max-width: 900px;
    text-align: center;
    background: #f9f9f9;
    border-radius: 24px;
}

.support h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.support p {
    max-width: 520px;
    margin: 0 auto 32px;
    color: #555;
    line-height: 1.6;
}

.support-action {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.support-action .btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    color: #fff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.support-action .btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.btn.wa { background: #25D366; }
.btn.tg { background: #229ED9; }
.btn.mail { background: #111; }




.payment {
    padding: 80px 20px;
    text-align: center;
}

.payment h2 {
    margin-bottom: 32px;
    font-size: 2rem;
}

.payment-slider {
    overflow: hidden;
    width: 100%;
}

.payment-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scroll 20s linear infinite;
}

.pay-item {
    min-width: 140px;
    background: #f9f9f9;
    border-radius: 16px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.pay-item img {
    height: 40px;
    object-fit: contain;
}

.pay-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
