
/* ========== VARIABLES ========== */
:root {
    --primary-red: #DC2626;
    --dark-red: #991B1B;
    --light-red: #FEE2E2;
    --white: #FFFFFF;
    --black: #000000;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-900: #111827;
}

/* ========== RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    min-height: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    caret-color: transparent;
}

body.nav-menu-open {
    overflow: hidden;
    touch-action: none;
}

body.nav-menu-open::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
    z-index: 500;
    -webkit-tap-highlight-color: transparent;
}

/* Background gradasi merah–putih menyambung dari halaman pertama sampai akhir */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 100vh;
    height: 100%;
    background: linear-gradient(
        180deg,
        #FFFFFF 0%,
        #FFFBFB 3%,
        #FFF5F5 8%,
        #FFEFEF 14%,
        #FFE8E8 20%,
        #FFE4E6 26%,
        #FED7D7 34%,
        #FECACA 42%,
        #FCA5A5 50%,
        #F87171 58%,
        #DC2626 64%,
        #DC2626 72%,
        #E53E3E 78%,
        #F87171 84%,
        #FECACA 90%,
        #FFE4E6 95%,
        #FFF5F5 98%,
        #FFFFFF 100%
    );
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========== NAVIGATION ========== */
nav {
    position: fixed;
    top: max(12px, env(safe-area-inset-top, 0px));
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1240px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    animation: slideDown 0.6s ease;
    transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Nav disembunyikan saat scroll */
nav.nav-hidden {
    transform: translateX(-50%) translateY(-120%);
    opacity: 0;
    pointer-events: none;
    box-shadow: none;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex-shrink: 1;
}

.logo-circle {
    width: 48px;
    height: 48px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: -0.5px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--gray-900);
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.625rem;
    color: var(--gray-600);
    letter-spacing: 1px;
    font-weight: 500;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
}

nav ul li a {
    text-decoration: none;
    color: var(--gray-700);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-red);
    background: var(--light-red);
}

nav ul li a:focus-visible {
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}

.order-btn {
    background: var(--primary-red);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    white-space: nowrap;
}

.order-btn:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
}

.order-btn:focus-visible,
.btn-primary:focus-visible,
.add-to-cart:focus-visible {
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 0.5rem;
    margin: 0;
    min-width: 44px;
    min-height: 44px;
    border-radius: 12px;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}

.menu-toggle span {
    width: 25px;
    height: 2.5px;
    background: var(--gray-900);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ========== HERO SECTION ========== */
.section-animate {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

.section-animate.in-view {
    opacity: 1;
    transform: translateY(0);
}

.hero {
    padding: 140px 2rem 80px;
    background: transparent;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-width: 0;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.hero-content h1 .highlight {
    color: var(--primary-red);
    display: block;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--primary-red);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--gray-900);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--gray-200);
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.image-wrapper {
    width: 100%;
    max-width: 420px;
    margin: auto;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.hero-image-profile {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.image-wrapper img {
    width: 100%;
    max-width: min(500px, 100%);
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}


/* ========== ABOUT SECTION ========== */
.about {
    padding: 64px 2rem;
    background: transparent;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
}

.section-header.light h2,
.section-header.light p {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.feature-card {
    padding: 1.6rem 1.5rem;
    background: var(--white);
    border: 2px solid rgba(254, 226, 226, 0.6);
    border-radius: 20px;
    transition: all 0.3s;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.feature-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--light-red);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--primary-red);
    font-size: 1.7rem;
}

.feature-icon::before {
    content: none;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Panel sertifikat (di bawah grid fitur, setelah Kemasan Praktis) */
.certificates-panel {
    margin-top: 2.75rem;
    background: var(--white);
    border: 2px solid rgba(254, 226, 226, 0.6);
    border-radius: 20px;
    padding: 2rem 1.75rem 2.25rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.certificates-panel h3 {
    text-align: center;
    color: var(--primary-red);
    font-weight: 800;
    font-size: 1.125rem;
    letter-spacing: 0.06em;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.certs-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.75rem 1.25rem;
}

.cert-item {
    flex: 1 1 140px;
    min-width: 118px;
    max-width: 200px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.cert-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gray-900);
    line-height: 1.3;
    margin: 0;
}

.cert-number {
    font-size: 0.75rem;
    margin: 0;
    line-height: 1.35;
    word-break: break-all;
}

.cert-number--purple {
    color: #7C3AED;
    font-weight: 500;
}

.cert-number--bold {
    font-weight: 800;
    color: var(--gray-900);
    font-size: 0.85rem;
}

.cert-number--sig {
    font-size: 0.72rem;
}

.cert-icon--doc {
    opacity: 0.95;
}

.cert-halal-logo {
    display: block;
    height: 54px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.cert-item--halal .cert-number {
    margin-top: 0.25rem;
}

.sig-logo {
    font-weight: 900;
    font-size: 1.75rem;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.sig-s,
.sig-g {
    color: #2563EB;
}

.sig-i {
    position: relative;
    color: #2563EB;
    display: inline-block;
}

.sig-leaf {
    position: absolute;
    top: -0.2em;
    left: 50%;
    transform: translateX(-40%);
    width: 0.45em;
    height: 0.55em;
    background: #16A34A;
    border-radius: 0 100% 0 100%;
    display: inline-block;
    pointer-events: none;
}

@media (max-width: 900px) {
    .certs-row {
        justify-content: center;
    }

    .cert-item {
        flex: 1 1 45%;
        max-width: 260px;
    }
}

/* ========== PRODUCTS SECTION ========== */
#home,
#about,
#products,
#contact,
#reseller {
    scroll-margin-top: 100px;
}
.products {
    padding: 72px 2rem;
    background: transparent;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.products .container {
    width: 100%;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
    align-items: stretch;
    grid-auto-rows: 1fr;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(254, 226, 226, 0.5);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(220, 38, 38, 0.2);
    border-color: rgba(220, 38, 38, 0.4);
}

.product-card:active {
    border-color: rgba(220, 38, 38, 0.6);
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.25);
}

.product-image-new {
    height: auto;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: #ffffff;
    margin: 0;
    padding: 0;
    width: 100%;
}

.product-bg {
    display: none;
}

.product-bg.spicy {
    background: linear-gradient(135deg, #FF6B35, #DC2626);
}

.product-bg.sweet {
    background: linear-gradient(135deg, #F59E0B, #DC2626);
}

.product-bg.gift {
    background: linear-gradient(135deg, #8B5CF6, #DC2626);
}

.product-emoji {
    display: none;
}

.product-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* 🔥 biar full tanpa space */
    object-position: center;
    display: block;
}

.product-content {
    padding: 1rem 1.1rem 1.15rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    text-align: center;
}

.product-content p {
    font-size: 0.8125rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    min-height: 4.75rem;
    flex: 1;
    text-align: justify;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: auto;
}

.price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-red);
}

.price span {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

.add-to-cart {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.add-to-cart:hover {
    background: var(--dark-red);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.add-to-cart:active {
    background: var(--dark-red);
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.5);
    transform: scale(0.98);
}

/* ========== TESTIMONIALS ========== */
.testimonials {
    padding: 80px 2rem;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.stars {
    color: #FCD34D;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author strong {
    font-weight: 700;
}

.author span {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* ========== CONTACT ========== */
.contact {
    padding: 80px 2rem 60px;
    background: transparent;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contact-card {
    background: #ffffff;
    padding: 2.4rem 2rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(254, 226, 226, 0.7);
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(220, 38, 38, 0.18);
    border-color: rgba(220, 38, 38, 0.6);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-icon svg {
    width: 2.4rem;
    height: 2.4rem;
}

.contact-icon--whatsapp {
    color: #25D366;
}

.contact-icon--email {
    color: #0EA5E9;
}

.contact-icon--location {
    color: #F97316;
}


.contact-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.contact-card p {
    color: var(--gray-600);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.contact-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s;
}

.contact-link:hover {
    color: var(--dark-red);
}

.contact-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(248, 113, 113, 0.18), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.contact-card:hover::after {
    opacity: 1;
}

/* ========== FOOTER ========== */
footer {
    background: transparent;
    padding: 2.75rem 2rem 2.5rem;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* footer logo dihilangkan, cukup teks watermark saja */

footer p {
    color: #555555;
    text-align: center;
    font-size: 0.9rem;
}

/* ========== RESPONSIVE ========== */
/* Tidak ada breakpoint 4 kolom, supaya selama lebar di atas tablet tetap 5 produk sejajar */

@media (max-width: 1024px) {
    .hero {
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 2.75rem;
    }

    .products {
        min-height: auto;
        display: block;
    }

    /* Tablet: 2 kolom */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid,
    .testimonials-grid,
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    nav {
        width: calc(100% - 16px);
        max-width: none;
        padding: 0.5rem 0.75rem;
        border-radius: 20px;
    }

    .nav-container {
        gap: 0.5rem;
    }

    .logo-img {
        width: 44px;
        height: 44px;
    }

    .brand-name {
        font-size: 1rem;
    }

    .brand-tagline {
        font-size: 0.55rem;
    }

    .menu-toggle {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 86vw);
        height: 100vh;
        height: 100dvh;
        padding: max(4rem, calc(env(safe-area-inset-top, 0px) + 3rem)) 1.25rem 2rem;
        padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        gap: 0;
        transition: right 0.35s ease;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
        border-radius: 0;
        z-index: 1001;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    nav ul.active {
        right: 0;
    }

    nav ul li a {
        padding: 1rem 0.75rem;
        width: 100%;
        display: block;
        font-size: 1rem;
        border-radius: 12px;
    }

    .order-btn {
        display: none;
    }

    .hero {
        padding: max(100px, calc(env(safe-area-inset-top, 0px) + 88px)) 1rem 48px;
        min-height: auto;
    }

    .hero-container {
        width: 100%;
        max-width: 100%;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: clamp(1.65rem, 6.5vw, 2.25rem);
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 0.9rem 1.25rem;
    }

    .about {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 1.75rem;
    }

    .section-header h2 {
        font-size: clamp(1.35rem, 5vw, 1.85rem);
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .features-grid {
        gap: 1rem;
    }

    .feature-card {
        padding: 1.25rem 1rem;
    }

    .certificates-panel {
        margin-top: 1.5rem;
        padding: 1.25rem 1rem 1.5rem;
    }

    .certificates-panel h3 {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .certs-row {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
    }

    .cert-item {
        flex: none;
        max-width: none;
        min-width: 0;
        width: 100%;
        align-items: center;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(254, 226, 226, 0.7);
    }

    .cert-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .products {
        padding: 48px 0;
    }

    .products-grid,
    .features-grid,
    .testimonials-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .product-content p {
        min-height: auto;
    }

    .sold {
        padding: 48px 0;
    }

    .sold-content h2 {
        font-size: clamp(1.75rem, 8vw, 2.25rem);
    }

    .sold-content h3 {
        font-size: 1.25rem;
    }

    .sold-stores {
        justify-content: center;
    }

    .sold-store {
        min-width: 0;
        flex: 1 1 calc(50% - 0.5rem);
        max-width: 160px;
        min-height: 100px;
        padding: 0.85rem 0.75rem;
    }

    .sold-store-icon,
    .sold-store-icon-lazada,
    .sold-store-icon-tiktok {
        width: auto;
        height: 64px;
        max-height: 64px;
    }

    .sold-store-icon img,
    .sold-store-icon-lazada img,
    .sold-store-icon-tiktok img {
        width: auto;
        max-width: 100%;
        height: 52px;
        max-height: 52px;
        object-fit: contain;
    }

    .partners {
        padding: 48px 0;
    }

    .partners-list {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .partner-item {
        width: calc(50% - 0.5rem);
        max-width: 160px;
        min-height: 72px;
        padding: 10px;
    }

    .partner-item img {
        width: 100%;
        max-width: 100px;
        height: auto;
        max-height: 48px;
    }

    .agents,
    .reseller {
        padding: 48px 0;
    }

    .agents-content h2 {
        font-size: clamp(2rem, 10vw, 2.5rem);
    }

    .agents-content h3 {
        font-size: 1.25rem;
    }

    .reseller-content h2 {
        font-size: clamp(1.2rem, 5vw, 1.65rem);
    }

    .contact {
        padding: 48px 0 40px;
    }

    .contact-card {
        padding: 1.75rem 1.25rem;
    }

    .contact-card p {
        font-size: 0.875rem;
        word-break: break-word;
    }

    footer {
        padding: 2rem 1rem;
    }

    footer p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.55rem;
    }

    .sig-logo {
        font-size: 1.4rem;
    }

    .cert-number--sig {
        font-size: 0.65rem;
    }

    .sold-store {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.partners {
    background: transparent;
    padding: 80px 0;
}

.partners-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.partner-item {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    width: 140px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-item img {
    width: 110px;
    height: 56px;
    object-fit: contain;
}

.partner-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-800);
    text-align: center;
    line-height: 1.3;
}

.partner-name--long {
    font-size: 0.7rem;
    line-height: 1.25;
}

.partner-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.2);
}

.partner-item:active {
    transform: scale(0.98);
}

.contact-card {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.logo-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
    padding: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* ========== SOLD SECTION ========== */
.sold {
    background: transparent;
    padding: 80px 0;
    color: #fff;
}

.sold-container {
    display: grid;
    grid-template-columns: 1.2fr 1.3fr;
    align-items: center;
    gap: 3rem;
}

.sold-image-bg {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.sold-image-bg img {
    width: 100%;
    display: block;
    border-radius: 32px;
}

.sold-label {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.95;
    margin-bottom: 0.75rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.sold-content h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: baseline;
    gap: 0.15em;
    flex-wrap: wrap;
    perspective: 300px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.sold-content h2 .sold-count {
    transform-origin: center bottom;
    transition: transform 0.15s ease-out;
}

.sold-plus {
    opacity: 0;
    animation: soldPlusFade 0.4s ease 2.1s forwards;
}

@keyframes soldPlusFade {
    to { opacity: 1; }
}

.sold-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.sold-content p {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.sold-store-text {
    margin-top: 1rem;
    font-weight: 600;
}

.sold-stores {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.sold-store {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0rem 1rem;
    border-radius: 16px;
    background: #ffffff;
    color: #333333;
    font-weight: 600;
    text-decoration: none;
    min-width: 140px;
    min-height: 90px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    border: 2px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.sold-store:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(220, 38, 38, 0.25);
    background: var(--light-red);
    border: 2px solid rgba(220, 38, 38, 0.4);
}

.sold-store-icon {
    width: auto;
    height: auto;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.sold-store-icon svg {
    width: 56px;
    height: 56px;
    fill: currentColor;
}

.sold-store.shopee .sold-store-icon {
    color: #ee4d2d;
}

.sold-store.lazada .sold-store-icon {
    color: #0F146D;
}

.sold-store.tiktok .sold-store-icon {
    color: #000000;
}

/* ========== AGENTS / RESELLER SECTIONS ========== */
.agents {
    background: transparent;
    padding: 80px 0;
}

.agents-container {
    display: grid;
    grid-template-columns: 1.2fr 1.3fr;
    align-items: center;
    gap: 3rem;
}

.agents-map {
    position: relative;
    min-height: 220px;
}

.agents-map-bg {
    width: 100%;
    height: 100%;
    min-height: 220px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: transparent;
    padding: 0;
}

.agents-map-bg img {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: contain;
    /* Tampilkan warna asli gambar peta merah */
    filter: none;
    display: block;
    opacity: 1;
}

.agents-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: baseline;
    gap: 0.1em;
    perspective: 300px;
}

.agents-content h2 .agents-count {
    transform-origin: center bottom;
    transition: transform 0.15s ease-out;
}

.agents-count {
    display: inline-block;
    min-width: 1.2em;
}

.agents-plus {
    opacity: 0;
    animation: agentsPlusFade 0.4s ease 1.75s forwards;
}

@keyframes agentsPlusFade {
    to { opacity: 1; }
}

.agents-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.agents-content p {
    max-width: 460px;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.agents-label {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.95;
    margin-bottom: 0.5rem;
}

.agents-label,
.agents-content h2,
.agents-content h3 {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.reseller {
    background: transparent;
    padding: 80px 0;
}

.reseller-container {
    display: grid;
    grid-template-columns: 1.2fr 1.3fr;
    align-items: center;
    gap: 3rem;
    background: #ffffff;
    border-radius: 32px;
    padding: 48px 56px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(254, 226, 226, 0.4);
}

.reseller-image-bg {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.reseller-image-bg img {
    width: 100%;
    display: block;
    border-radius: 32px;
}

.reseller-label {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 0.75rem;
}

.reseller-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.reseller-benefits {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
}

.reseller-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    font-size: 0.98rem;
}

.reseller-benefits span {
    font-weight: 700;
}

.reseller-btn {
    display: inline-block;
    margin-top: 0.25rem;
}

@media (max-width: 1024px) {
    .sold-container,
    .agents-container,
    .reseller-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .reseller-container {
        padding: 28px 18px;
        border-radius: 20px;
    }
}

.sold-store-icon,
.sold-store-icon-lazada,
.sold-store-icon-tiktok {
    width: 80px;   /* 🔥 tambahkan ini */
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sold-store-icon img,
.sold-store-icon-lazada img,
.sold-store-icon-tiktok img {
    width: 150%;
    height: 150%;
    object-fit: contain;
}

/* FORCE semua logo sama */
.sold-store-icon {
    width: 80px !important;
    height: 80px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sold-store-icon img {
    width: 150% !important;
    height: 150% !important;
    object-fit: contain !important;
}

.sold-store.shopee img {
    transform: scale(1.4);
}