/* =====================================================
 * Theme 4 – Shopee Style (Orange Bold)
 * File : css/theme4.css
 * Last Update: 01/12/2025 (MYT)
 * ===================================================== */

/* =====================================================
 * 0) GLOBAL + HIDE KADENCE HEADER
 * ===================================================== */

/* Sembunyikan header Kadence bila CSS ini dipanggil (page Landing saja) */
body .site-header,
body .site-main-header-wrap,
body .entry-hero,
body .kadence-sticky-header {
    display: none !important;
}

/* Buang gap atas content bila header hilang */
body #inner-wrap,
body .site-main,
body .content-area,
body .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.wr-landing-wrap {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1f2933;
}

.wr-landing-inner {
    max-width: 1100px;
    margin: 20px auto 40px;
    padding: 20px 16px 40px;
}

/* =====================================================
 * 1) HERO – GRADIENT OREN SHOPEE
 * ===================================================== */
.wr-landing-hero {
    border-radius: 26px;
    padding: 30px 24px 50px; /* atas 30, bawah 50 – lega */
    margin: 0 0 32px;
    background:
        radial-gradient(circle at top left, #ffedd5 0%, #fed7aa 25%, #ff9f43 45%, #ee4d2d 75%, #7c2d12 100%);
    color: #fefce8;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
    overflow: hidden;
    position: relative;
}

/* Lapis lembut guna hero image (kalau ada) */
.wr-landing-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--wr-hero-bg);
    background-size: cover;
    background-position: center;
    opacity: 0.12; /* bayang ±10% */
    mix-blend-mode: soft-light;
    z-index: 0;
}

/* Ring luar glow oren */
.wr-landing-hero::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 30px;
    background: conic-gradient(from 180deg, #f97316, #facc15, #fb7185, #f97316);
    opacity: 0.16;
    z-index: 0;
}

/* Isi hero */
.wr-landing-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
}

.wr-hero-text {
    flex: 1 1 55%;
    min-width: 280px;
}

.wr-hero-meta {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 10px;
    color: #ffedd5;
}

.wr-hero-text h1 {
    font-size: clamp(26px, 4vw, 34px);
    margin: 0 0 10px;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

.wr-hero-sub {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.6;
    color: #fef9c3;
}

.wr-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.wr-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #f0fdf4;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(22, 163, 74, 0.55);
}

.wr-btn-primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

/* Gambar hero */
.wr-hero-image {
    flex: 1 1 45%;
    min-width: 240px;
    text-align: center;
}

.wr-hero-image img {
    max-width: 520px;
    width: 100%;
    border-radius: 22px;
    border: 3px solid rgba(248, 250, 252, 0.9);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.6);
    background: #0f172a;
    object-fit: cover;
}

/* HERO – TANPA VIDEO: gambar full bawah teks */
.wr-hero-img-full {
    flex-direction: column;
}
.wr-hero-img-full .wr-hero-image {
    margin-top: 24px;
    width: 100%;
    flex: 0 0 100%;
    text-align: center;
}
.wr-hero-img-full .wr-hero-image img {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

/* HERO – ADA VIDEO (desktop): align gambar ke bottom */
@media (min-width: 1024px) {
    .wr-hero-has-video {
        align-items: stretch;
    }

    .wr-hero-has-video .wr-hero-image {
        margin-top: 0;
        flex: 1 1 40%;
        display: flex;
        align-items: flex-end;   /* ✅ gambar duduk bawah */
        justify-content: center;
    }

    .wr-hero-has-video .wr-hero-image img {
        width: 100%;
        max-width: 520px;
    }
}

/* HERO – YouTube box */
.wr-yt-box {
    margin-top: 16px;
    border-radius: 18px;
    padding: 4px;
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.55);
}
.wr-yt-box iframe {
    width: 100%;
    border-radius: 14px;
    aspect-ratio: 16/9;
    display: block;
}

/* =====================================================
 * 2) SEKSYEN GENERIK (Buka Minda, dll.)
 * ===================================================== */
.wr-landing-section {
    margin-bottom: 26px;
    padding: 30px 22px 50px; /* atas 30, bawah 50 – space lega */
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.wr-landing-section h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
    color: #111827;
}

.wr-landing-section p {
    margin-top: 0;
    line-height: 1.6;
}

.wr-landing-list {
    margin: 8px 0 0 18px;
}
.wr-landing-list li {
    margin-bottom: 4px;
}

/* =====================================================
 * 3) BUKA MINDA – PANEL OREN GELAP
 * ===================================================== */
.wr-mindset-section {
    background: radial-gradient(circle at top, #ef4444 0%, #f97316 45%, #7c2d12 100%);
    color: #fef2f2;
    text-align: center;
    box-shadow: 0 16px 34px rgba(185, 28, 28, 0.55);
}

.wr-mindset-section h2 {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    color: #fffbeb;
}

.wr-mindset-section p {
    font-size: clamp(15px, 2vw, 18px);
    color: #fee2e2;
}

/* =====================================================
 * 4) KENAPA JOIN – GRID BULLET SHOPEE
 * ===================================================== */
.wr-benefits-section {
    background: linear-gradient(135deg, #fff7ed 0%, #fee2e2 40%, #fefce8 100%);
    border-radius: 24px;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.10);
}

.wr-benefits-section h2 {
    margin: 0 0 16px;
    text-align: center;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #7c2d12;
}

.wr-benefits-list {
    max-width: 860px;
    margin: 0 auto;
}

.wr-benefits-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px 14px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.wr-benefits-list li {
    position: relative;
    padding: 10px 12px 10px 44px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
    font-size: 14px;
    line-height: 1.5;
    color: #1f2937;
    font-weight: 600;
}

.wr-benefits-list li::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.45);
    transform: translateY(-50%);
}

/* =====================================================
 * 5) INFO SYARIKAT – KAD PUTIH + BORDER OREN
 * ===================================================== */
.wr-company-section {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 30px 24px 50px;
    color: #111827;
    background-color: #fff7ed;
    border: 2px solid #fed7aa;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.15);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 160% auto;
}

.wr-company-inner {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
}

.wr-company-section h2 {
    margin: 0 0 4px;
    font-size: clamp(18px, 2.2vw, 20px);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 700;
    color: #b91c1c;
}

.wr-company-section h1 {
    margin: 0 0 12px;
    font-size: clamp(26px, 3.4vw, 34px);
    letter-spacing: -0.02em;
    font-weight: 800;
    color: #7c2d12;
}

.wr-company-intro p {
    margin: 4px 0 6px;
    line-height: 1.5;
    color: #111827;
}

.wr-company-intro p:last-child {
    margin-bottom: 26px;
}

.wr-company-meta {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}

.wr-company-meta li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    background: #fee2e2;
    color: #7c2d12;
    padding: 8px 16px 9px;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.wr-company-dot {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: #f97316;
    box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.55);
    flex-shrink: 0;
}

.wr-company-meta a {
    color: #b91c1c;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
    font-weight: 700;
}

/* =====================================================
 * 6) PRODUK / PAKEJ
 * ===================================================== */
.wr-product-section {
    background: linear-gradient(135deg, #fff7ed 0%, #fee2e2 45%, #fef9c3 100%);
    border-radius: 24px;
    padding: 30px 22px 50px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
}

.wr-product-heading {
    margin: 0 0 18px;
    text-align: center;
    font-size: clamp(20px, 2.6vw, 26px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #7c2d12;
}

.wr-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.wr-product-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 12px 14px 16px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.wr-product-image-wrap {
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid #fed7aa;
    margin-bottom: 10px;
}

.wr-product-image-wrap img,
.wr-product-placeholder {
    display: block;
    width: 100%;
    height: auto;
}

.wr-product-placeholder {
    padding: 40px 10px;
    text-align: center;
    font-size: 14px;
    color: #6b7280;
    background: #f3f4f6;
}

.wr-product-title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.wr-product-desc {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.wr-product-desc-inner {
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
    padding-top: 2px;
}

.wr-product-card.is-open .wr-product-desc {
    max-height: 260px;
}

.wr-product-desc-inner p {
    margin: 0 0 6px;
}

.wr-product-toggle {
    margin-top: 6px;
    align-self: flex-start;
    border: none;
    border-radius: 999px;
    padding: 5px 14px 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: #f97316;
    color: #fefce8;
    box-shadow: 0 6px 14px rgba(248, 113, 113, 0.45);
}

.wr-product-card.is-open .wr-product-toggle {
    background: #be123c;
}

/* Video produk */
.wr-product-video-wrap {
    margin: 1.5rem 0 2rem;
}

.wr-product-video-inner {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    background: #000;
}

.wr-product-video-inner iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* =====================================================
 * 7) TESTIMONI
 * ===================================================== */
.wr-testimonials {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.wr-testi-card {
    flex: 1 1 260px;
    border-radius: 16px;
    border: 1px solid #fee2e2;
    padding: 14px 14px 16px;
    background: #fff7ed;
}

.wr-testi-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.wr-testi-head img {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid #fed7aa;
}

.wr-testi-name {
    font-weight: 600;
    font-size: 14px;
}

.wr-testi-text {
    font-size: 14px;
    line-height: 1.6;
}

/* Video testimoni */
.wr-testi-video-wrap {
    margin: 2rem auto 0;
    max-width: 900px;
}

.wr-testi-video-inner {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    border: 4px solid #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    background-color: #000;
}

.wr-testi-video-inner iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* =====================================================
 * 8) FINAL CTA – PANEL OREN
 * ===================================================== */
.wr-final-cta {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 45%, #c2410c 100%);
    border-radius: 24px;
    padding: 30px 22px 50px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.20);
    text-align: center;
    color: #fff7ed;
}

.wr-final-inner {
    max-width: 780px;
    margin: 0 auto;
}

.wr-final-heading {
    margin: 0 0 12px;
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fffbeb;
}

.wr-final-text {
    font-size: 16px;
    line-height: 1.6;
    color: #fffbeb;
    margin: 0 0 20px;
}

.wr-final-text p {
    margin: 4px 0;
}

.wr-final-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 6px;
}

.wr-final-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 26px 12px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    white-space: nowrap;
}

/* Button WhatsApp – hijau terang */
.wr-final-btn-wa {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #f0fdf4;
    box-shadow: 0 14px 32px rgba(22, 163, 74, 0.55);
}
.wr-final-btn-wa:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

/* Button daftar – hitam emas */
.wr-final-btn-daftar {
    background: #0f172a;
    color: #fefce8;
    border: 2px solid #fbbf24;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.65);
}
.wr-final-btn-daftar:hover {
    background: #0f172a;
    color: #fbbf24;
    transform: translateY(-1px);
}

/* =====================================================
 * 9) ERROR BOX
 * ===================================================== */
.wr-landing-error {
    max-width: 600px;
    margin: 20px auto;
    padding: 12px 16px;
    border-radius: 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* =====================================================
 * 10) PAYMENT INFO
 * ===================================================== */
.wr-payment-section {
    margin-top: 24px;
}

.wr-payment-heading {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
}

.wr-payment-card {
    max-width: 640px;
    margin: 0 auto;
    padding: 16px 18px;
    border-radius: 18px;
    background: #0f172a;
    color: #f9fafb;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.45);
}

.wr-payment-intro {
    font-size: 16px;
    opacity: 0.92;
    margin-bottom: 10px;
    color: #fef9c3;
}

.wr-payment-list {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
    font-size: 14px;
}

.wr-payment-item {
    margin-bottom: 4px;
}

.wr-payment-label {
    font-weight: 700;
    margin-right: 4px;
}

.wr-payment-acc {
    letter-spacing: 0.03em;
}

.wr-payment-qr {
    margin-top: 12px;
    text-align: center;
}

.wr-payment-qr-text {
    font-size: 13px;
    margin-bottom: 6px;
    opacity: 0.9;
}

.wr-payment-qr-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 220px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.7);
    overflow: hidden;
}

.wr-payment-qr-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* =====================================================
 * 11) PROFILE BLOK
 * ===================================================== */
.wr-profile-section {
    margin-top: 20px;
}

.wr-profile-main {
    padding: 18px 12px;
    border-radius: 18px;
    background-image: url('../images/bgprofile.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.wr-profile-card {
    max-width: 520px;
    margin: 0 auto 10px;
    padding: 18px 18px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #fed7aa;
    text-align: center;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wr-profile-intro {
    margin-bottom: 10px;
    font-size: 13px;
    color: #6b7280;
}

.wr-profile-img-wrap {
    margin-bottom: 10px;
}

.wr-profile-img {
    width: 120px;
    height: 120px;
    border-radius: 999px;
    object-fit: cover;
    border: 3px solid #fee2e2;
    display: block;
    margin: 0 auto;
}

.wr-profile-name {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 4px;
    color: #111827;
}

.wr-profile-url {
    font-size: 13px;
    margin-bottom: 14px;
    color: #6b7280;
}

.wa-profile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 999px;
    background: #22c55e;
    color: #064e3b;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #16a34a;
    font-size: 14px;
}

.wa-profile-btn:hover {
    filter: brightness(1.05);
}

.wr-profile-warning {
    font-size: 13px;
    color: #ef4444;
}

/* =====================================================
 * 12) RESPONSIVE – PHONE (≤ 768px)
 * ===================================================== */
@media (max-width: 768px) {

    .wr-hero-sub {
        font-size: 15px;
        font-weight: 500;
    }

    .wr-landing-inner {
        max-width: none;
        padding: 0 0 30px;
        margin: 0;
    }

    .wr-landing-wrap {
        margin-top: -18px;
    }

    .wr-landing-hero {
        position: relative;
        left: 50%;
        right: 50%;
        width: 100vw;
        margin-left: -50vw;
        margin-right: -50vw;
        border-radius: 0;
    }

    .wr-landing-hero-inner {
        flex-direction: column-reverse;
    }

    .wr-hero-image {
        width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
    }

    .wr-hero-image img {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }

    .wr-yt-box {
        width: 100%;
    }

    .wr-mindset-section,
    .wr-benefits-section,
    .wr-company-section,
    .wr-product-section,
    .wr-final-cta,
    .wr-landing-section {
        padding: 26px 16px 50px;
    }

    .wr-final-actions {
        flex-direction: column;
    }

    .wr-final-btn {
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}


/* =========================================
 * TUNING THEME 4 – HERO META & SUBHEADLINE
 * =======================================*/

/* Link replika atas (WebReplika.com/AutoDownline) */
.wr-hero-meta{
    display:inline-block;
    padding:4px 12px;
    border-radius:999px;
    background:rgba(15,23,42,0.55); /* gelap lutsinar */
    color:#ffffff;                   /* putih terang */
    font-weight:600;
    letter-spacing:0.02em;
    text-shadow:0 1px 2px rgba(0,0,0,0.6);
}

/* Subheadline bawah tajuk */
.wr-hero-sub{
    max-width:640px;
    padding:6px 12px 7px;
    border-radius:12px;
    /*background:rgba(15,23,42,0.45);  kotak gelap belakang teks */
    color:#ffffff;                   /* override warna lama */
    font-size:20px;
    line-height:1.6;
    text-shadow:0 1px 3px rgba(0,0,0,0.7);
}

/* Tuning extra: Subheadline – teks hitam + shadow putih */
.wr-hero-sub{
    color:#111827; /* hitam gelap */
    text-shadow:0 1px 2px rgba(255,255,255,0.9); /* glow putih halus */
}

/* Align meta link ke kiri – sama line dengan HERO */
.wr-hero-meta{
    display:block;               /* daripada inline-block → block */
    width:max-content;           /* ikut panjang text sahaja */
    margin:0 auto 8px 0;         /* top=0, right=auto, bottom=8, left=0 */
}

/* =========================================
 * HERO – MODE GAMBAR SAHAJA (tanpa YouTube)
 *  - Teks align kiri
 *  - Gambar penuh lebar di bawah teks
 * =======================================*/
.wr-hero-img-full{
    display:flex;
    flex-direction:column;     /* stack: teks atas, gambar bawah */
    align-items:flex-start;    /* SEMUA item align kiri, bukan center */
}

/* Pastikan blok teks ambil full width macam layout YouTube */
.wr-hero-img-full .wr-hero-text{
    width:100%;
}

/* Gambar hero penuh lebar, center elok */
.wr-hero-img-full .wr-hero-image{
    margin-top:22px;
    width:100%;
    text-align:center;
}

.wr-hero-img-full .wr-hero-image img{
    width:100%;
    max-width:100%;
    margin:0 auto;
    display:block;
}
