/* Landing page iklan (Google & Meta). Berdiri sendiri supaya ringan: tidak memuat tailwind.css / rtg_style.css.
   Warna & font mengikuti rtg_style.css (:root) dan fontface.css (Inter + Albert Sans). */
:root {
    --primary: #2c77e7;
    --primary-dark: #1E6BB8;
    --primary-darker: #0F4C81;
    --secondary: #1ab8d4;
    --heading: #0f172a;
    --text: #64748b;
    --text-strong: #475467;
    --bg-soft: #f8fafc;
    --primary-light: #eef5ff;
    --dark: #1f2329;
    --dark-2: #172033;
    --white: #FFFFFF;
    --border: #e2e8f0;
    --whatsapp: #25a55f;
    --danger: #d6304a;
    --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
    --radius: 24px;
    --font-sans: "Inter", sans-serif;
    --font-display: "Albert Sans", sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

.lp-body {
    margin: 0;
    background: var(--white);
    color: var(--text-strong);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.lp-body *,
.lp-body *::before,
.lp-body *::after {
    box-sizing: border-box;
}

.lp-body img {
    max-width: 100%;
    height: auto;
}

.lp-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-right: max(24px, env(safe-area-inset-right, 0px));
    padding-left: max(24px, env(safe-area-inset-left, 0px));
}

.lp-container-narrow {
    max-width: 860px;
}

/* Typography */
.lp-h1,
.lp-h2,
.lp-form-title {
    margin: 0;
    color: var(--heading);
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.lp-h1 {
    font-size: clamp(30px, 4.2vw, 48px);
    line-height: 1.12;
}

.lp-h2 {
    margin-bottom: 32px;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.2;
}

.lp-sub,
.lp-lead {
    margin: 0;
    color: var(--text-strong);
    font-size: 18px;
}

/* Buttons */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px 28px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
}

.lp-btn:hover {
    transform: translateY(-2px);
}

.lp-btn-sm {
    min-height: 44px;
    padding: 8px 18px;
    font-size: 15px;
}

.lp-btn-block {
    width: 100%;
}

.lp-btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 12px 30px rgba(44, 119, 231, 0.3);
    color: var(--white);
}

.lp-btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.lp-btn-primary[disabled] {
    opacity: 0.65;
    cursor: progress;
    transform: none;
}

.lp-btn-wa {
    background: var(--whatsapp);
    color: var(--white);
}

.lp-btn-wa-outline {
    border: 1.5px solid var(--whatsapp);
    background: var(--white);
    color: #17804a;
}

.lp-btn-white {
    background: var(--white);
    color: var(--primary-darker);
}

/* 1. Header */
.lp-header {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 20;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.96);
}

.lp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.lp-logo {
    display: block;
    width: 130px;
}

.lp-logo-link {
    display: block;
    border-radius: 6px;
}

.lp-logo-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

/* 2. Hero + form */
.lp-hero {
    padding: 56px 0 72px;
    background: radial-gradient(circle at top right, rgba(44, 119, 231, 0.15), transparent 40%),
        radial-gradient(circle at bottom left, rgba(26, 184, 212, 0.12), transparent 40%),
        var(--bg-soft);
}

.lp-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

.lp-hero-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 16px;
}

.lp-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lp-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--heading);
    font-weight: 600;
}

.lp-benefits i {
    margin-top: 4px;
    color: var(--primary);
    font-size: 18px;
}

.lp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.lp-actions-center {
    justify-content: center;
}

.lp-hero-image,
.lp-module-image {
    display: block;
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.lp-module-image {
    margin-top: 32px;
}

.lp-form-card {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.lp-form-title {
    margin-bottom: 20px;
    font-size: 24px;
    line-height: 1.2;
}

.lp-field {
    margin-bottom: 16px;
}

.lp-field > label {
    display: block;
    margin-bottom: 6px;
    color: var(--heading);
    font-size: 15px;
    font-weight: 700;
}

.lp-input {
    width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 16px;
    outline: none;
    background-color: var(--white);
    color: var(--heading);
    font: inherit;
    font-size: 16px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.lp-input::placeholder {
    color: #94A3B8;
}

.lp-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(44, 119, 231, 0.12);
}

select.lp-input {
    padding-right: 44px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2364748b' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
}

.lp-err {
    display: none;
    margin-top: 6px;
    color: var(--danger);
    font-size: 13px;
}

.lp-field.has-error .lp-input {
    border-color: var(--danger);
}

.lp-field.has-error .lp-err {
    display: block;
}

.lp-form-error {
    display: none;
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #fdecef;
    color: var(--danger);
    font-size: 14px;
    font-weight: 600;
}

.lp-form-error.show {
    display: block;
}

.lp-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.lp-consent,
.lp-form-note {
    margin: 0 0 14px;
    color: var(--text);
    font-size: 13px;
    line-height: 1.5;
}

.lp-form-note {
    margin: 14px 0 0;
}

.lp-recaptcha-note {
    margin: 10px 0 0;
    color: var(--text);
    font-size: 11.5px;
    line-height: 1.5;
}

.lp-recaptcha-note a {
    color: inherit;
}

.grecaptcha-badge {
    visibility: hidden;
}

.lp-consent a {
    color: var(--primary-dark);
}

/* 3. Bukti kepercayaan */
.lp-trust {
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}

.lp-trust-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 32px;
}

.lp-trust-title {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

.lp-trust-logos {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 36px;
}

.lp-trust-logos img {
    width: auto;
    height: 48px;
    object-fit: contain;
}

.lp-trust-logos .lp-trust-badge {
    height: 64px;
    margin-left: auto;
}

/* Sections */
.lp-section {
    padding: 80px 0;
}

.lp-section-soft {
    background: var(--bg-soft);
}

.lp-section-dark {
    background: var(--dark-2);
}

.lp-section-dark .lp-h2 {
    color: var(--white);
}

.lp-grid {
    display: grid;
    gap: 20px;
}

.lp-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lp-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lp-card,
.lp-reason {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
}

.lp-card-soft {
    border-color: transparent;
    background: var(--bg-soft);
}

.lp-card-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 18px;
}

.lp-card-title {
    margin: 0;
    color: var(--heading);
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

.lp-card-desc {
    margin: 0;
    color: var(--text-strong);
    font-size: 15px;
}

/* 5. Cara kerja */
.lp-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lp-step {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.lp-step-number {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
}

.lp-step-title {
    color: var(--heading);
    font-weight: 700;
    line-height: 1.35;
}

.lp-step-desc {
    font-size: 14px;
}

/* 7. Testimoni */
.lp-quote {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
}

.lp-quote blockquote {
    margin: 0;
    color: #E2E8F0;
    font-size: 18px;
}

.lp-quote figcaption {
    display: flex;
    flex-direction: column;
    color: #CBD5E1;
    font-size: 14px;
}

.lp-quote figcaption strong {
    color: var(--white);
    font-size: 16px;
}

/* 9. FAQ */
.lp-faq {
    margin-bottom: 12px;
    padding: 4px 24px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--white);
}

.lp-faq summary {
    position: relative;
    padding: 16px 32px 16px 0;
    color: var(--heading);
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.lp-faq summary::-webkit-details-marker {
    display: none;
}

.lp-faq summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 0;
    color: var(--primary);
    font-size: 24px;
    font-weight: 500;
    transform: translateY(-50%);
}

.lp-faq[open] summary::after {
    content: "−";
}

.lp-faq p {
    margin: 0 0 18px;
}

/* 10. Ajakan penutup */
.lp-closing {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-darker), var(--primary));
    text-align: center;
}

.lp-closing .lp-h2 {
    color: var(--white);
}

/* 11. Footer */
.lp-footer {
    padding: 28px 0;
    background: #252733;
    color: #ADB5BD;
    font-size: 14px;
}

.lp-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 28px;
}

.lp-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
}

.lp-footer-links a {
    padding: 8px 0;
    color: var(--white);
    text-decoration: none;
}

.lp-footer-links a:hover {
    color: #9cc3ff;
}

/* Bar menempel (HP) */
.lp-sticky {
    display: none;
}

/* Terima kasih */
.lp-thanks {
    padding: 72px 0;
    background: var(--bg-soft);
}

.lp-thanks-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 48px 32px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: var(--white);
    box-shadow: var(--shadow);
    text-align: center;
}

.lp-thanks-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 26px;
}

.lp-thanks-ref {
    margin: 0;
    color: var(--text);
    font-size: 14px;
}

/* Tablet */
@media (max-width: 1023px) {
    .lp-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* HP: form tepat di bawah hero, section ke bawah, bar tombol menempel */
@media (max-width: 767px) {
    html {
        scroll-padding-top: 72px;
    }

    /* Hanya kiri/kanan: shorthand "padding: 0 16px" sebelumnya menghapus padding atas/bawah header */
    .lp-container {
        padding-right: max(16px, env(safe-area-inset-right, 0px));
        padding-left: max(16px, env(safe-area-inset-left, 0px));
    }

    .lp-header-inner {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .lp-logo {
        width: 112px;
    }

    .lp-header .lp-btn-sm {
        min-height: 40px;
        padding: 6px 14px;
        font-size: 14px;
    }

    .lp-hero {
        padding: 28px 0 40px;
    }

    .lp-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .lp-hero-text {
        gap: 18px;
        padding-top: 0;
    }

    .lp-hero-image {
        display: none;
    }

    .lp-sub,
    .lp-lead {
        font-size: 16px;
    }

    .lp-actions .lp-btn {
        width: 100%;
        min-height: 48px;
        padding: 10px 16px;
        font-size: 15px;
    }

    .lp-form-card {
        padding: 24px 20px;
        border-radius: 24px;
    }

    .lp-section,
    .lp-closing {
        padding: 48px 0;
    }

    .lp-h2 {
        margin-bottom: 24px;
    }

    .lp-grid-4,
    .lp-grid-2,
    .lp-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .lp-card,
    .lp-reason,
    .lp-step {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        padding: 16px;
    }

    .lp-card-icon,
    .lp-step-number {
        flex: none;
    }

    .lp-card-title,
    .lp-step-title {
        flex: 1;
        min-width: 0;
    }

    .lp-card-desc,
    .lp-step-desc {
        flex-basis: 100%;
    }

    .lp-trust-logos img {
        height: 36px;
    }

    .lp-trust-logos .lp-trust-badge {
        height: 48px;
        margin-left: 0;
    }

    .lp-footer {
        padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    }

    .lp-sticky {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 30;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 8px max(12px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
        border-top: 1px solid var(--border);
        background: var(--white);
        box-shadow: 0 -6px 18px rgba(15, 23, 42, 0.1);
    }

    .lp-sticky .lp-btn {
        min-height: 44px;
        padding: 6px 10px;
        gap: 8px;
        font-size: 15px;
        box-shadow: none;
    }

    .lp-thanks .lp-btn {
        width: 100%;
    }
}

/* HP layar kecil (360-380px) */
@media (max-width: 380px) {
    .lp-container {
        padding-right: max(14px, env(safe-area-inset-right, 0px));
        padding-left: max(14px, env(safe-area-inset-left, 0px));
    }

    .lp-logo {
        width: 100px;
    }

    .lp-header .lp-btn-sm {
        min-height: 38px;
        padding: 6px 12px;
        gap: 6px;
        font-size: 13px;
    }

    .lp-h1 {
        font-size: 26px;
    }

    .lp-sub,
    .lp-lead {
        font-size: 15px;
    }

    .lp-benefits li {
        font-size: 15px;
    }

    .lp-form-card {
        padding: 20px 16px;
    }

    .lp-sticky .lp-btn {
        min-height: 42px;
        font-size: 14px;
    }
}

/* =====================================================================
   Bersama untuk semua desain (review 19 Nov 2026)
   ===================================================================== */
:root {
    --rtg-gradient: linear-gradient(90deg, #1f4fd8 0%, #1aa3e0 50%, #7cc242 100%);
}

/* Garis tipis gradient logo RTG di bawah header */
.lp-header::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 3px;
    background: var(--rtg-gradient);
}

/* Teks bergradient warna logo RTG, mis. kata "ReadyToGo" di bagian Kenapa */
.rtg-hl {
    background: var(--rtg-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lp-hl {
    color: var(--primary);
}

.lp-preview-banner {
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 8px max(16px, env(safe-area-inset-left, 0px));
    background: #fff4d6;
    color: #7a4b00;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

/* Footer: nama PT & alamat */
.lp-footer-company {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lp-footer-address {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    color: #cbd2dc;
    font-size: 14px;
    line-height: 1.6;
}

.lp-footer-address strong {
    color: var(--white);
}

.lp-footer-inner {
    align-items: flex-start;
}

/* Logo klien bergerak pelan ke samping, berhenti saat disorot */
.lp-marquee {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.lp-marquee-track {
    display: flex;
    gap: 56px;
    align-items: center;
    width: max-content;
    animation: lp-marquee var(--lp-marquee-duration, 40s) linear infinite;
}

.lp-marquee:hover .lp-marquee-track,
.lp-marquee:focus-within .lp-marquee-track {
    animation-play-state: paused;
}

.lp-body .lp-marquee-track img {
    width: auto;
    max-width: 160px;
    height: 44px;
    object-fit: contain;
}

/* Pengaman: konten yang terlalu lebar tidak membuat halaman bisa digeser ke samping */
.lp-main {
    overflow-x: clip;
}

/* Logo klien sedikit (< 5): kartu logo diam, rata kiri setelah judul */
.lp-client-logos {
    display: flex;
    flex: 1 1 420px;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 14px;
    min-width: 0;
}

.lp-client-logo {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    max-width: 196px;
    min-width: 132px;
    justify-content: center;
    height: 76px;
    padding: 12px 22px;
    border: 1px solid var(--lp-logo-border, rgba(15, 23, 42, 0.08));
    border-radius: 14px;
    background: var(--lp-logo-bg, #FFFFFF);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lp-client-logo:hover {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
}

.lp-body .lp-client-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 44px;
    object-fit: contain;
}

@media (max-width: 767px) {
    .lp-client-logos {
        display: grid;
        flex-basis: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
    }

    .lp-client-logos-1 {
        grid-template-columns: minmax(0, 1fr);
    }

    .lp-client-logo {
        min-width: 0;
        max-width: none;
        height: 64px;
        padding: 10px 14px;
    }

    .lp-client-logos-3 .lp-client-logo:last-child {
        grid-column: 1 / -1;
    }

    .lp-body .lp-client-logo img {
        max-height: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-client-logo {
        transition: none;
    }

    .lp-client-logo:hover {
        transform: none;
    }
}

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

/* Rating & slider testimoni */
.lp-stars {
    display: flex;
    gap: 4px;
    color: #f5a524;
    font-size: 18px;
}

.lp-slider-nav {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lp-slider-btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.lp-slider-btn-primary {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.lp-slider-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.lp-slider-count {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

[data-slide][hidden] {
    display: none !important;
}

/* Muncul saat di-scroll: elemen tetap terlihat bila JS tidak jalan */
.lp-reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.lp-reveal-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* HP & tablet: No. HP dan Email bersebelahan bila cukup lebar */
.lp-theme-lark .lp-field-row,
.lp-theme-odoo .lp-field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 12px;
}

@media (max-width: 420px) {
    .lp-theme-lark .lp-field-row,
    .lp-theme-odoo .lp-field-row {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ===== Video (LP Lark & Odoo): thumbnail + tombol play, player dimuat saat diklik ===== */
.lp-video {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111827;
    color: #fff;
}

.lp-video-poster,
.lp-video-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.lp-body .lp-video-poster {
    height: 100%;
    object-fit: cover;
}

.lp-video-player {
    background: #000;
}

.lp-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    padding: 16px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.lp-video-poster + .lp-video-play {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.45) 100%);
}

.lp-video-play-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #fff;
    color: #111827;
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.14), 0 14px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

.lp-video-play-icon svg {
    margin-left: 4px;
}

.lp-video-play:hover .lp-video-play-icon,
.lp-video-play:focus-visible .lp-video-play-icon {
    transform: scale(1.08);
}

.lp-video-play:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -6px;
}

.lp-video-caption {
    font-size: 16px;
    font-weight: 700;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.lp-video-duration {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    pointer-events: none;
}

@media (max-width: 767px) {
    .lp-video-play-icon {
        width: 60px;
        height: 60px;
    }

    .lp-video-play-icon svg {
        width: 22px;
        height: 22px;
    }

    .lp-video-caption {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-marquee-track {
        flex-wrap: wrap;
        width: auto;
        animation: none;
    }

    .lp-marquee-track img[aria-hidden="true"] {
        display: none;
    }

    .lp-reveal-ready [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .lp-btn {
        transition: none;
    }

    .lp-btn:hover {
        transform: none;
    }
}

/* ---------- Dokumentasi proyek di testimoni (UAT / Go Live / Onsite, maks. 3 foto) ----------
   Warna aksen per desain lewat --lp-ph-accent & --lp-ph-bg (diatur di CSS tema). */
.lp-ph-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.lp-ph-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--lp-ph-accent, #2563EB);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.lp-ph-line {
    flex: none;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.lp-ph {
    display: grid;
    gap: 10px;
}

.lp-ph-1 {
    height: 270px;
}

.lp-ph-2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    height: 230px;
}

.lp-ph-3 {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    height: 300px;
}

.lp-ph-3 .lp-ph-item-0 {
    grid-row: 1 / 3;
}

.lp-ph-item {
    position: relative;
    min-width: 0;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    background: var(--lp-ph-bg, linear-gradient(135deg, #EEF3FF, #E6FBF8));
}

.lp-body .lp-ph-item img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lp-ph-item:hover img {
    transform: scale(1.03);
}

/* Bayangan bawah supaya keterangan tetap terbaca di atas foto */
.lp-ph-item::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 46%;
    background: linear-gradient(180deg, rgba(10, 16, 28, 0) 0%, rgba(10, 16, 28, 0.62) 100%);
    pointer-events: none;
}

.lp-ph-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    padding: 4px 10px;
    border-radius: 999px;
    background: #FFFFFF;
    color: #14202E;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.lp-ph-cap {
    position: absolute;
    right: 12px;
    bottom: 10px;
    left: 12px;
    z-index: 1;
    margin: 0;
    overflow: hidden;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

@media (max-width: 640px) {
    .lp-ph-1 {
        height: 200px;
    }

    .lp-ph-2 {
        height: 170px;
    }

    /* 3 foto di HP: Go Live besar di atas, UAT & Onsite di bawah */
    .lp-ph-3 {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-rows: 190px 120px;
        height: auto;
    }

    .lp-ph-3 .lp-ph-item-0 {
        grid-row: auto;
        grid-column: 1 / 3;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-body .lp-ph-item img {
        transition: none;
    }

    .lp-ph-item:hover img {
        transform: none;
    }
}
