/* =====================================================
 * Theme 3 – Pastel Mint & Soft
 * File : css/theme3.css
 * Last Update: 01/12/2025 (MYT)
 * ===================================================== */

/* =====================================================
 * 0) GLOBAL WRAPPER
 * ===================================================== */
.wr-landing-wrap {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #0f172a;
}

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

/* =====================================================
 * 1) HERO – KOTAK PASTEL MINT
 * ===================================================== */
.wr-landing-hero {
    border-radius: 26px;
    padding: 30px 24px 50px; /* ✅ atas 30, bawah 50 – LEGAAAA */
    margin: 0 0 32px;
    background:
        radial-gradient(circle at top left, #bbf7d0 0%, #a5f3fc 40%, #e9d5ff 75%, #f9fafb 100%);
    color: #0f172a;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    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.10; /* bayang ±10% */
    mix-blend-mode: soft-light;
    z-index: 0;
}

/* Border glow lembut */
.wr-landing-hero::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 30px;
    background: conic-gradient(from 180deg, #4ade80, #22d3ee, #a855f7, #4ade80);
    opacity: 0.12;
    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.85;
    margin-bottom: 10px;
    color: #0369a1;
}

.wr-hero-text h1 {
    font-size: clamp(26px, 4vw, 34px);
    margin: 0 0 10px;
    letter-spacing: -0.02em;
    color: #022c22;
    text-shadow: 0 2px 4px rgba(148, 163, 184, 0.6);
}

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

.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.45);
}

.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.85);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.5);
    background: #0f172a;
    object-fit: cover;
}

/* HERO – VARIASI 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.85);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.45);
}
.wr-yt-box iframe {
    width: 100%;
    border-radius: 14px;
    aspect-ratio: 16/9;
    display: block;
}

/* =====================================================
 * 2) SEKSYEN GENERIK (Buka Minda, dsb.)
 * ===================================================== */
.wr-landing-section {
    margin-bottom: 26px;
    padding: 30px 22px 50px; /* ✅ atas 30, bawah 50 untuk semua blok utama */
    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: #022c22;
}

.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 HIJAU GELAP
 * ===================================================== */
.wr-mindset-section {
    background: radial-gradient(circle at top, #0f766e 0%, #0f766e 40%, #052e16 100%);
    color: #ecfdf5;
    text-align: center;
    box-shadow: 0 16px 34px rgba(15, 118, 110, 0.55);
}

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

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

/* =====================================================
 * 4) KENAPA JOIN – GRID BULLET PASTEL
 * ===================================================== */
.wr-benefits-section {
    background: linear-gradient(135deg, #ecfdf3 0%, #e0f2fe 50%, #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: #022c22;
}

.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.95);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
    font-size: 14px;
    line-height: 1.5;
    color: #0f172a;
    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, #22c55e, #14b8a6);
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.35);
    transform: translateY(-50%);
}

/* =====================================================
 * 5) INFO SYARIKAT – KAD PUTIH + BORDER MINT
 * ===================================================== */
.wr-company-section {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 30px 24px 50px;
    color: #022c22;
    background-color: #f9fafb;
    border: 2px solid #bbf7d0;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.10);
    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: #0369a1;
}

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

.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: #ecfeff;
    color: #0369a1;
    padding: 8px 16px 9px;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.wr-company-dot {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.45);
    flex-shrink: 0;
}

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

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

.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: #022c22;
}

.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.10);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.wr-product-image-wrap {
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid #bfdbfe;
    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: #0f766e;
    color: #ecfdf5;
    box-shadow: 0 6px 14px rgba(15, 118, 110, 0.35);
}

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

/* 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 #e5e7eb;
    padding: 14px 14px 16px;
    background: #f9fafb;
}

.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 #e5e7eb;
}

.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 PUTIH + BORDER HIJAU
 * ===================================================== */
.wr-final-cta {
    background: #ffffff;
    border-radius: 24px;
    padding: 30px 22px 50px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
    text-align: center;
    border: 2px solid #bbf7d0;
    color: #022c22;
}

.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: #022c22;
}

.wr-final-text {
    font-size: 16px;
    line-height: 1.6;
    color: #065f46;
    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 */
.wr-final-btn-wa {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ecfdf5;
    box-shadow: 0 14px 32px rgba(22, 163, 74, 0.50);
}
.wr-final-btn-wa:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

/* Button daftar */
.wr-final-btn-daftar {
    background: #0f172a;
    color: #fefce8;
    border: 2px solid #fbbf24;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.60);
}
.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(249, 250, 251, 0.9);
    border: 1px solid #e5e7eb;
    text-align: center;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    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 #e5e7eb;
    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;
    }
}
