:root {
    /* Brand Colors based on user request */
    --primary: #0BAF54; /* Green */
    --primary-hover: #099446;
    --secondary: #161B59; /* Deep Navy */
    
    /* Backgrounds */
    --bg: #F3F5F8; /* Sedikit keabuan untuk memecah warna putih polos */
    --surface: #ffffff;
    
    /* Typography */
    --text-heading: #161B59;
    --text-body: #4b5563;
    
    /* UI Elements */
    --border: #e5e7eb;
    --nav-link: #4b5563;
    --focus-ring: rgba(11, 175, 84, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg);
    color: var(--text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar */
header {
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg);
    position: relative;
    z-index: 100;
}

.logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo svg {
    color: var(--primary);
}

nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

nav .nav-link {
    text-decoration: none;
    color: var(--nav-link);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

nav .nav-link:hover, nav .nav-link.active {
    color: var(--primary);
}

.btn-login {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.btn-login:hover {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(11, 175, 84, 0.2);
}

.lang-switch {
    border: 1px solid var(--border);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    background: white;
    color: var(--secondary);
    transition: border-color 0.2s;
    text-decoration: none;
    display: inline-block;
}

.lang-switch:hover {
    border-color: var(--primary);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 5rem 5%;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 80vh;
}

.hero-content h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--text-heading);
    margin-bottom: 1.5rem;
}

/* Typing Word Animation — WCAG: #099446 gives 3.63:1 on hero bg ✅ */
.typing-word {
    color: #099446;
    display: inline-block;
    border-right: 3px solid #099446;
    min-width: 2px;
    animation: blink-cursor 0.65s step-end infinite;
    vertical-align: baseline;
}

@keyframes blink-cursor {
    0%, 100% { border-color: #099446; }
    50%       { border-color: transparent; }
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 90%;
    color: #616b7b;
}

/* Search Box */
.search-box {
    display: flex;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 0.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(22, 27, 89, 0.05);
    max-width: 550px;
    transition: box-shadow 0.3s ease;
}

.search-box:focus-within {
    box-shadow: 0 10px 25px -5px rgba(11, 175, 84, 0.15);
    border-color: var(--primary);
}

.search-box input {
    flex: 1;
    border: none;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    background: transparent;
    outline: none;
    color: var(--secondary);
}

/* WCAG fix: #6b7280 gives 4.95:1 on white ✅ */
.search-box input::placeholder {
    color: #6b7280;
}

.btn-search {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-search:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(11, 175, 84, 0.3);
}

/* Illustration styling */
.hero-illustration {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration img {
    width: 100%;
    max-width: 600px;
    height: auto;
    position: relative;
    z-index: 2;
}

/* Decorative Background Blob behind image */
.blob-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: linear-gradient(135deg, rgba(11, 175, 84, 0.08), rgba(22, 27, 89, 0.05));
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: 1;
    animation: blobMorph 10s infinite alternate;
}

@keyframes blobMorph {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* Mobile Actions */
.mobile-actions {
    display: none;
    gap: 1rem;
    align-items: center;
}

.mobile-btn {
    color: var(--secondary);
    background: transparent;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: 6px;
    transition: all 0.2s;
}

.mobile-btn.login-icon {
    border-color: var(--primary);
    color: var(--primary);
}

.mobile-btn:hover {
    color: var(--primary-hover);
    border-color: var(--primary-hover);
}

/* Best Seller Section */
.best-sellers {
    padding: 6rem 5%;
    background-color: var(--surface);
}

.bs-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 3fr 7fr;
    gap: 4rem;
    align-items: center;
}

.bs-text h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-heading);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.bs-text h2 span {
    color: var(--primary);
}

.bs-text p {
    color: var(--text-body);
    margin-bottom: 2rem;
}

.bs-controls {
    display: flex;
    gap: 0.8rem;
}

.bs-controls button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--secondary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bs-controls button:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.bs-carousel-container {
    overflow: hidden;
    padding: 1rem 0;
    position: relative;
    /* Gradient fade di sisi kiri/kanan — ditaruh di container (fixed) agar tidak ikut bergerak */
    -webkit-mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent);
    mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent);
}

.bs-carousel {
    display: flex;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    padding-top: 1.5rem;
    will-change: transform;
}

/* Removed scrollbar hiding since we use transform */

.bs-card {
    flex: 0 0 auto;
    width: 280px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-heading);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bs-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px -5px rgba(22, 27, 89, 0.1);
    border-color: var(--primary);
}

.bs-card img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid var(--border);
}

.bs-card h3 {
    padding: 1.2rem 1rem;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.01em;
    text-align: center;
}

/* Levidio Info Section */
.levidio-info {
    padding: 6rem 5%;
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
    border-top: 1px solid rgba(22, 27, 89, 0.05);
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 6fr 4fr;
    gap: 5rem;
    align-items: center;
}

.info-text h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-heading);
    margin-bottom: 1rem;
}

.info-text p {
    font-size: 1.1rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.info-stats {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: rgba(11, 175, 84, 0.1);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* WCAG fix: #099446 gives 3.95:1 on white ✅ (large text needs 3:1) */
.stat-item h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #099446;
    line-height: 1.1;
    margin-bottom: 0.2rem;
}

.stat-item p {
    color: var(--text-heading);
    font-weight: 500;
}

/* ─── Fitur & Cara Kerja Section ─────────────────────────────────────────── */
.how-it-works {
    padding: 6rem 5%;
    background: var(--surface);
    border-top: 1px solid rgba(22, 27, 89, 0.06);
}

.hiw-container {
    max-width: 1200px;
    margin: 0 auto;
}

.hiw-header {
    text-align: center;
    margin-bottom: 4rem;
}

.hiw-label {
    display: inline-block;
    background: rgba(11, 175, 84, 0.1);
    color: #099446;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.hiw-header h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-heading);
    margin-bottom: 1rem;
}

.hiw-header h2 span {
    color: var(--primary);
}

.hiw-header p {
    color: var(--text-body);
    font-size: 1.05rem;
    line-height: 1.7;
}

.hiw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.hiw-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem 2rem 2.2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Watermark step number */
.hiw-card::before {
    content: attr(data-step);
    position: absolute;
    top: -0.8rem;
    right: 1.2rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
    transition: opacity 0.3s;
}

/* Colored top accent bar */
.hiw-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 20px 20px 0 0;
    transition: height 0.3s ease;
}

.hiw-card--green { background: rgba(11, 175, 84, 0.04); }
.hiw-card--green::before { color: rgba(11, 175, 84, 0.12); }
.hiw-card--green::after  { background: var(--primary); }

.hiw-card--navy { background: rgba(22, 27, 89, 0.04); }
.hiw-card--navy::before { color: rgba(22, 27, 89, 0.10); }
.hiw-card--navy::after  { background: var(--secondary); }

.hiw-card--accent { background: rgba(9, 148, 70, 0.05); }
.hiw-card--accent::before { color: rgba(9, 148, 70, 0.12); }
.hiw-card--accent::after  { background: #099446; }

.hiw-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -8px rgba(22, 27, 89, 0.12);
    border-color: transparent;
}

.hiw-card:hover::after {
    height: 4px;
}

/* Icon box — konsisten dengan stat-icon */
.hiw-card .hiw-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.hiw-card .hiw-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

.hiw-card--green .hiw-icon {
    background: rgba(11, 175, 84, 0.12);
    color: var(--primary);
}

.hiw-card--navy .hiw-icon {
    background: rgba(22, 27, 89, 0.1);
    color: var(--secondary);
}

.hiw-card--accent .hiw-icon {
    background: rgba(9, 148, 70, 0.12);
    color: #099446;
}

.hiw-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-heading);
    margin-bottom: 0.8rem;
}

.hiw-card h3 span {
    color: var(--primary);
}

.hiw-card--navy h3 span {
    color: var(--secondary);
}

.hiw-card p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 2rem;
        gap: 2rem;
    }
    .hero-content p {
        margin: 0 auto 2rem auto;
    }
    .search-box {
        margin: 0 auto;
        flex-direction: column;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
    }
    .search-box input {
        border: 1px solid var(--border);
        border-radius: 8px;
        background: white;
        margin-bottom: 1rem;
    }
    .search-box:focus-within {
        box-shadow: none;
        border-color: transparent;
    }
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--surface);
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem 5%;
        gap: 1.5rem;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--border);
        display: none;
    }

    nav.show {
        display: flex;
    }

    .mobile-actions {
        display: flex;
    }

    .bs-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bs-text {
        text-align: center;
    }

    .bs-controls {
        justify-content: center;
    }

    .bs-card {
        width: 250px;
    }

    .info-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .info-text {
        text-align: center;
    }

    .info-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .stat-item {
        flex: 1 1 calc(50% - 1rem);
        justify-content: center;
    }

    /* How It Works — responsive */
    .hiw-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hiw-card {
        padding: 2rem 1.5rem;
    }


    .hiw-card::before {
        font-size: 4.5rem;
    }
}

/* ── Best Seller: Mobile — tampilkan 1 card saja, centered ── */
@media (max-width: 600px) {
    .bs-card {
        width: 85vw;
    }

    .bs-carousel-container {
        /* Geser track agar card pertama tampak di tengah */
        padding-left: calc((100% - 85vw) / 2);
        /* Hapus gradient mask — tidak relevan untuk 1-card view */
        -webkit-mask-image: none;
        mask-image: none;
    }

    /* Levidio Info — kecilkan teks di mobile */
    .info-text p {
        font-size: 0.92rem;
        line-height: 1.7;
    }

    .stat-item p {
        font-size: 0.82rem;
    }
    
    .stat-item {
        flex: 1 1 100%;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   PRODUK SHOWCASE SECTION — Layout A (Bento Grid) + Layout C (Dark Spotlight)
═══════════════════════════════════════════════════════════════════ */

/* ── Section Wrapper ────── */
.products-showcase {
    padding: 7rem 5% 6rem;
    background: var(--bg);
    border-top: 1px solid rgba(22, 27, 89, 0.06);
}

.ps-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* ── Section Header ────── */
.ps-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.ps-label {
    display: inline-block;
    background: rgba(11, 175, 84, 0.1);
    color: #099446;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.ps-header h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.ps-header h2 span {
    color: var(--primary);
}

.ps-header > p {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.7;
    max-width: 1000px; /* Diperlebar lagi jadi 1000px agar benar-benar 1 baris di monitor desktop */
    margin: 0 auto 2rem;
}

/* ── Layout Toggle Buttons ────── */
.layout-toggle {
    display: inline-flex;
    gap: 0.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.35rem;
}

.toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.2rem;
    border: none;
    border-radius: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    color: var(--nav-link);
    transition: all 0.25s ease;
}

.toggle-btn:hover {
    color: var(--primary);
}

.toggle-btn.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(11, 175, 84, 0.3);
}

.toggle-btn:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 2px;
}

/* ── Layout View Switch ────── */
.layout-view {
    animation: fadeInUp 0.45s ease both;
}

.layout-hidden {
    display: none !important;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════
   LAYOUT A — ZIG-ZAG ALTERNATING (dengan deskripsi)
═══════════════════════════════════════════════════════════ */

.zigzag-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

/* Zig-Zag Card – split horizontal */
.zz-card {
    display: grid;
    grid-template-columns: 0.3fr 0.7fr; /* 30% Image / 70% Text */
    border-radius: 20px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    text-decoration: none;
    min-height: 220px;
    position: sticky;
    top: 40px;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.35s ease,
                border-color 0.25s ease;
}

.zz-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 48px -8px rgba(22, 27, 89, 0.13);
    border-color: var(--primary);
}

.zz-card:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 2px;
}

/* Stacking offset (efek anak tangga ketika di-scroll) */
.zz-card:nth-child(1) { top: 40px; z-index: 1; }
.zz-card:nth-child(2) { top: calc(40px + 60px); z-index: 2; }
.zz-card:nth-child(3) { top: calc(40px + 120px); z-index: 3; }
.zz-card:nth-child(4) { top: calc(40px + 180px); z-index: 4; }
.zz-card:nth-child(5) { top: calc(40px + 240px); z-index: 5;}
.zz-card:nth-child(6) { top: calc(40px + 300px); z-index: 6;}
.zz-card:nth-child(7) { top: calc(40px + 360px); z-index: 7;}
.zz-card:nth-child(8) { top: calc(40px + 420px); z-index: 8;}
.zz-card:nth-child(n+9) { top: calc(40px + 480px); z-index: 9;}

/* Even cards: flip — info kiri, image kanan */
.zz-card:nth-child(even) {
    grid-template-columns: 0.7fr 0.3fr;
}

.zz-card:nth-child(even) .zz-image {
    order: 2;
}

/* ── Image side ─────── */
.zz-image {
    position: relative;
    overflow: hidden;
}

.zz-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.zz-card:hover .zz-img {
    transform: scale(1.06);
}

/* Number badge */
.zz-num {
    position: absolute;
    top: 1rem;
    left: 1rem;
    min-width: 36px;
    height: 36px;
    padding: 0 0.6rem;
    background: rgba(22, 27, 89, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.01em;
    z-index: 2;
}

.zz-card:nth-child(even) .zz-num {
    left: auto;
    right: 1rem;
}

/* Subtle directional gradient overlay on image */
.zz-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 65%, rgba(22, 27, 89, 0.06) 100%);
    pointer-events: none;
}

.zz-card:nth-child(even) .zz-image::after {
    background: linear-gradient(to left, transparent 65%, rgba(22, 27, 89, 0.06) 100%);
}

/* ── Info side ─────── */
.zz-info {
    padding: 4.5rem 2rem 1.5rem 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Green left accent bar */
.zz-info::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.8rem;
    bottom: 1.8rem;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), rgba(11,175,84,0));
    border-radius: 0 3px 3px 0;
}

.zz-card:nth-child(even) .zz-info {
    padding: 4.5rem 2.2rem 1.5rem 2rem;
}

.zz-card:nth-child(even) .zz-info::before {
    left: auto;
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* Badge — menempel di tepi atas card, rounded bawah saja */
.zz-badge {
    position: absolute;
    top: 0;
    right: 2rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
    background: var(--primary);
    padding: 0.3rem 0.85rem 0.45rem;
    border-radius: 0 0 10px 10px; /* Rata atas, rounded bawah saja */
    box-shadow: 0 4px 12px rgba(11, 175, 84, 0.35);
    z-index: 3;
    line-height: 1.4;
}

.zz-card:nth-child(even) .zz-badge {
    right: auto;
    left: 2rem;
}

/* Title */
.zz-info h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-heading);
    line-height: 1.25;
    margin-bottom: 0.65rem;
    transition: color 0.2s;
}

.zz-card:hover .zz-info h3 {
    color: var(--primary);
}

/* Description */
.zz-desc {
    font-size: 0.95rem; /* Larger font size */
    color: var(--text-body);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

/* Price row */
.zz-price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
}

.zz-price .price-discounted {
    font-size: 1.4rem;  /* Make the price larger */
    font-weight: 800;
    color: var(--primary);
}

.zz-price .price-original {
    font-size: 0.9rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.zz-price .price-off {
    font-size: 0.75rem;
    font-weight: 800;
    color: #ffffff;
    background: #e63946;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    margin-left: -0.25rem; /* pull slightly to tighten kerning with original price */
}

/* CTA inline button */
.zz-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--secondary);
    background: rgba(22, 27, 89, 0.07);
    padding: 0.65rem 1.4rem;
    border-radius: 10px;
    width: fit-content;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.zz-cta svg {
    transition: transform 0.25s ease;
}

.zz-card:hover .zz-cta {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(11, 175, 84, 0.3);
}

.zz-card:hover .zz-cta svg {
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════
   LAYOUT B — COMPACT LIST
═══════════════════════════════════════════════════════════ */

.compact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.cmp-card {
    display: flex;
    background: #f8f9fc; /* Soft purple/blueish tint */
    border: 1px solid rgba(22, 27, 89, 0.05);
    border-radius: 16px;
    padding: 1.25rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    gap: 1.25rem;
}

.cmp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -8px rgba(22, 27, 89, 0.08);
    border-color: rgba(22, 27, 89, 0.1);
}

.cmp-card:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 2px;
}

.cmp-thumb-wrap {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.cmp-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cmp-card:hover .cmp-thumb {
    transform: scale(1.08);
}

.cmp-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cmp-info h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.cmp-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.cmp-price .price-discounted {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
}

.cmp-price .price-original {
    font-size: 0.8rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.cmp-price .price-off {
    font-size: 0.7rem;
    font-weight: 800;
    color: #ffffff;
    background: #e63946;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    margin-left: -0.2rem;
}

.cmp-desc {
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.cmp-cta {
    margin-top: auto;
    align-self: flex-end; /* Puskes tombol ke pojok kanan bawah */
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    width: fit-content;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: background 0.2s ease, transform 0.2s ease;
}

.cmp-cta svg {
    transition: transform 0.2s ease;
}

.cmp-card:hover .cmp-cta {
    background: var(--primary-hover);
}

.cmp-card:hover .cmp-cta svg {
    transform: translateX(4px);
}

/* ── CTA Button ────── */
.ps-cta {
    text-align: center;
    padding-top: 1rem;
    position: relative;
    z-index: 1;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 2.2rem;
    background: var(--primary);
    color: #ffffff;
    border-radius: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(11, 175, 84, 0.3);
}

.btn-view-all:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(11, 175, 84, 0.4);
}

.btn-view-all:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 3px;
}/* ── Responsive: Showcase Section ────────────────────────── */
@media (max-width: 1024px) {
    .zz-card,
    .zz-card:nth-child(even) {
        grid-template-columns: 1fr 1fr;
    }

    .compact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .products-showcase {
        padding: 5rem 5% 4rem;
    }

    /* Stack vertikal: info atas, gambar bawah */
    .zz-card,
    .zz-card:nth-child(even) {
        grid-template-columns: 1fr;
        grid-template-rows: auto 240px;
        min-height: auto;
        z-index: 1 !important; /* Balik stacking: biarkan card 2 menumpuk di atas card 1 secara natural */
    }

    .zz-image,
    .zz-card:nth-child(even) .zz-image {
        order: 1 !important;
    }

    .zz-info,
    .zz-card:nth-child(even) .zz-info {
        padding: 4.5rem 1.5rem 1.5rem 1.8rem;
    }

    .zz-info::before,
    .zz-card:nth-child(even) .zz-info::before {
        left: 0;
        right: auto;
        border-radius: 0 3px 3px 0;
    }

    .zz-num {
        left: 1rem !important;
        right: auto !important;
    }

    /* Reset sticky space agar rapat ke atas (menghilangkan area kosong) */
    .zz-card:nth-child(1) { top: 20px !important; }
    .zz-card:nth-child(2) { top: 55px !important; }
    .zz-card:nth-child(3) { top: 90px !important; }
    .zz-card:nth-child(4) { top: 125px !important; }
    .zz-card:nth-child(5) { top: 160px !important; }
    .zz-card:nth-child(6) { top: 195px !important; }
    .zz-card:nth-child(7) { top: 230px !important; }
    .zz-card:nth-child(8) { top: 265px !important; }
    .zz-card:nth-child(n+9) { top: 300px !important; }

    .compact-grid {
        grid-template-columns: 1fr;
    }

    .cmp-card {
        flex-direction: column;
        gap: 1rem;
    }

    .cmp-thumb-wrap {
        width: 100%;
        height: 180px;
    }

    .layout-toggle {
        flex-wrap: wrap;
        justify-content: center;
    }

    .toggle-btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   TESTIMONIAL SECTION
═══════════════════════════════════════════════════════════════════ */

.testimonials {
    padding: 7rem 5%;
    background: var(--secondary);
    position: relative;
    overflow: hidden;
}

/* Decorative blobs */
.testimonials::before,
.testimonials::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.06;
}
.testimonials::before {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -150px;
    right: -100px;
}
.testimonials::after {
    width: 350px;
    height: 350px;
    background: var(--primary);
    bottom: -100px;
    left: -80px;
}

.testi-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ── Header ──────────────────────────────────── */
.testi-header {
    text-align: center;
    margin-bottom: 4rem;
}

.testi-label {
    display: inline-block;
    background: rgba(11, 175, 84, 0.2);
    color: #4ade80;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.testi-header h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.testi-header h2 span {
    color: var(--primary);
}

.testi-header p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ── Slider Layout ────────────────────────────── */
.testi-body {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testi-nav {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.testi-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(11, 175, 84, 0.35);
}

.testi-nav:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 2px;
}

.testi-viewport {
    flex: 1;
    overflow: hidden;
}

.testi-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* ── Card ─────────────────────────────────────── */
.testi-card {
    flex: 0 0 calc(50% - 0.75rem);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem 2rem 1.75rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: border-color 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testi-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(11, 175, 84, 0.4);
}

/* SVG Quote mark watermark — injected via JS */
.testi-quote-mark {
    position: absolute;
    top: 1rem;
    right: 1.4rem;
    color: var(--primary);
    opacity: 0.22;
    pointer-events: none;
    line-height: 1;
}

/* Stars */
.testi-stars {
    display: flex;
    gap: 0.2rem;
}

.testi-stars svg {
    color: #fbbf24;
}

/* Quote text */
.testi-quote {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
    flex: 1;
    font-style: italic;
}

/* Author row */
.testi-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.testi-avatar {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.testi-author-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.testi-author-role {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ── Dots ─────────────────────────────────────── */
.testi-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
}

.testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.testi-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(11, 175, 84, 0.5);
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 768px) {
    .testimonials {
        padding: 5rem 5%;
    }

    .testi-header h2 {
        font-size: 1.6rem;
    }

    .testi-header p {
        font-size: 0.9rem;
    }

    .testi-card {
        flex: 0 0 100%;
    }

    /* Sembunyikan panah agar card testi lebih leluasa di layar kecil */
    .testi-nav {
        display: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   LAST CTA SECTION
═══════════════════════════════════════════════════════════════════ */

.last-cta {
    position: relative;
    background: var(--secondary);
    padding: 7rem 5%;
    text-align: center;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* CSS Grid Pattern Background */
.lcta-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
}

/* Green glow blob */
.last-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(11,175,84,0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.lcta-container {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.lcta-container h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.lcta-container h2 span {
    color: var(--primary);
}

.lcta-container p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.lcta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Primary CTA */
.lcta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 2.4rem;
    background: var(--primary);
    color: #ffffff;
    border-radius: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 6px 24px rgba(11, 175, 84, 0.4);
}

.lcta-btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(11, 175, 84, 0.5);
}

.lcta-btn-primary svg {
    transition: transform 0.25s ease;
}

.lcta-btn-primary:hover svg {
    transform: translateX(4px);
}

.lcta-btn-primary:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 3px;
}

/* Secondary CTA — Ghost */
.lcta-btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.95rem 2rem;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lcta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-3px);
}

.lcta-btn-secondary:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 3px;
}

/* Responsive */
@media (max-width: 600px) {
    .last-cta {
        padding: 5rem 5%;
    }

    .lcta-container h2 {
        font-size: 1.6rem;
    }

    .lcta-container p {
        font-size: 0.9rem;
    }

    .lcta-actions {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.8rem;
    }

    .lcta-btn-primary,
    .lcta-btn-secondary {
        width: auto;
        flex: 1;
        padding: 0.8rem 0.5rem;
        font-size: 0.8rem;
        justify-content: center;
        text-align: center;
    }

    .lcta-btn-primary svg {
        width: 14px;
        height: 14px;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   SITE FOOTER
═══════════════════════════════════════════════════════════════════ */

.site-footer {
    background: #0e1340; /* Sedikit lebih gelap dari --secondary untuk layering */
}

/* ── Footer Main ─────────────────────────────────────────────────── */
.footer-main {
    padding: 4rem 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* ── Brand Column ────────────────────────────────────────────────── */
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer-logo svg {
    color: var(--primary);
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    max-width: 340px;
}

/* Social links */
.footer-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-social span {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    padding: 0.35rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    transition: all 0.2s ease;
}

.social-link:hover {
    color: #ffffff;
    border-color: var(--primary);
    background: rgba(11, 175, 84, 0.12);
}

.social-link:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 2px;
}

/* ── Nav Groups ─────────────────────────────────────────────────── */
.footer-nav-group h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.25rem;
}

.footer-nav-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav-group ul li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-nav-group ul li a:hover {
    color: var(--primary);
}

.footer-nav-group ul li a:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
    border-radius: 2px;
}

/* ── Footer Bottom Bar ──────────────────────────────────────────── */
.footer-bottom {
    padding: 1.25rem 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom .footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom p a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.footer-bottom p a:hover {
    opacity: 0.8;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 1.5rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-bottom .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}
