/* ==========================================================================
   PALAJP689 - Tema landing page statis
   Aksen: merahTail #e11d48 | emas #fbbf24 | bg #10040a
   ========================================================================== */

:root {
    --brand: #e11d48;
    --brand-soft: #fb7185;
    --gold: #fbbf24;
    --gold-soft: #fde68a;
    --bg: #10040a;
    --bg-alt: #1a0710;
    --bg-card: #210a13;
    --text: #fdf2f6;
    --text-dim: #e6b9c4;
    --line: #4a1526;
    --radius: 14px;
    --wrap: 1160px;
    --shadow: 0 18px 44px rgba(0, 0, 0, .45);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* Logo di header tidak boleh ikut di-clamp oleh max-width global:
   di dalam flex container, clamp ini memotong wordmark jadi pecah. */
.brand img {
    max-width: none;
}

a {
    color: var(--gold);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1,
h2,
h3,
h4 {
    line-height: 1.25;
    margin: 0 0 .6em;
    font-weight: 800;
}

h1 {
    font-size: clamp(2rem, 5.2vw, 3.5rem);
    letter-spacing: -.5px;
}

h2 {
    font-size: clamp(1.5rem, 3.4vw, 2.25rem);
}

h3 {
    font-size: 1.12rem;
}

p {
    margin: 0 0 1rem;
}

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 18px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    background: var(--brand);
    color: #fff;
    padding: 12px 20px;
    border-radius: 0 0 8px 0;
    font-weight: 700;
}

.skip-link:focus {
    left: 0;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(16, 4, 10, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand {
    display: block;
    flex-shrink: 0;
    line-height: 0;
}

.brand picture {
    display: block;
}

.brand img {
    display: block;
    height: 46px;
    width: auto;
    max-width: none;
}

/* AMP: logo di header butuh tinggi tetap, karena layout="responsive"
   memanjang mengikuti lebar container dan pecah. */
.brand amp-img {
    display: block;
    width: 145px;
    height: 33px;
}

.nav-main {
    display: flex;
    gap: 20px;
    margin-left: auto;
    font-size: .93rem;
    font-weight: 600;
}

.nav-main a {
    color: var(--text-dim);
    text-decoration: none;
    white-space: nowrap;
}

.nav-main a:hover {
    color: var(--gold);
}

.header-cta {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* ---------- Tombol ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-weight: 800;
    font-size: .9rem;
    letter-spacing: .5px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: transform .16s ease, filter .16s ease;
    white-space: nowrap;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand) 0%, #9f1239 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(225, 29, 72, .34);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, #d97706 100%);
    color: #2a1405;
    box-shadow: 0 8px 20px rgba(251, 191, 36, .3);
}

.btn-ghost {
    background: transparent;
    border-color: var(--brand-soft);
    color: var(--gold-soft);
}

.btn-lg {
    padding: 15px 34px;
    font-size: 1rem;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
    padding: 18px 0 0;
    font-size: .85rem;
}

.breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--text-dim);
}

.breadcrumb li+li::before {
    content: "/";
    margin-right: 8px;
    color: var(--line);
}

.breadcrumb a {
    color: var(--text-dim);
}

/* ---------- Hero ---------- */
.hero {
    padding: 22px 0 56px;
    background:
        radial-gradient(900px 480px at 18% -8%, rgba(225, 29, 72, .26), transparent 62%),
        radial-gradient(760px 420px at 92% 8%, rgba(251, 191, 36, .13), transparent 60%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 44px;
    align-items: center;
    padding-top: 26px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(225, 29, 72, .14);
    border: 1px solid rgba(251, 113, 133, .38);
    color: var(--gold-soft);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .3px;
    margin-bottom: 18px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, .7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    70% {
        box-shadow: 0 0 0 10px rgba(74, 222, 128, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}

.hero-copy h1 {
    margin-bottom: .45em;
}

.hero-copy h1 em {
    font-style: normal;
    color: var(--gold);
}

.hero-lead {
    font-size: 1.06rem;
    color: var(--text-dim);
    max-width: 56ch;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 26px 0;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 28px;
}

.stat {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 12px;
    text-align: center;
}

.stat b {
    display: block;
    font-size: 1.16rem;
    color: var(--gold);
}

.stat span {
    font-size: .78rem;
    color: var(--text-dim);
}

.hero-visual picture {
    display: block;
}

.hero-visual img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

/* AMP: <amp-img layout="responsive"> mengisi 100% kontainer induknya,
   jadi perlu aturan eksplisit yang sama seperti <img> biasa. */
.hero-visual amp-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

/* ---------- Jump nav / daftar isi ---------- */
.toc {
    background: rgba(225, 29, 72, .07);
    border-bottom: 1px solid var(--line);
    padding: 13px 0;
}

.toc .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
}

.toc-label {
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--brand-soft);
}

.toc a {
    font-size: .86rem;
    font-weight: 600;
    color: var(--text-dim);
    text-decoration: none;
    padding: 4px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    transition: border-color .16s ease, color .16s ease;
}

.toc a:hover {
    color: var(--gold);
    border-color: rgba(251, 191, 36, .5);
    text-decoration: none;
}

/* ---------- Marquee ---------- */
.marquee-wrap {
    background: linear-gradient(90deg, var(--brand), #9f1239);
    border-block: 1px solid var(--line);
    overflow: hidden;
}

.marquee {
    display: inline-block;
    white-space: nowrap;
    padding: 11px 0;
    color: #fff;
    font-weight: 800;
    font-size: .86rem;
    letter-spacing: 1.4px;
    animation: scroll 26s linear infinite;
}

.marquee span {
    margin: 0 14px;
    color: var(--gold);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ---------- Section ---------- */
.section {
    padding: 62px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-head {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.section-head p {
    color: var(--text-dim);
    margin: 0;
}

.eyebrow {
    display: inline-block;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(251, 191, 36, .1);
    border: 1px solid rgba(251, 191, 36, .3);
    border-radius: 999px;
    padding: 5px 15px;
    margin-bottom: 14px;
}

/* ---------- Grid kartu ---------- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 22px;
    transition: transform .18s ease, border-color .18s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(251, 113, 133, .55);
}

.card h3 {
    color: var(--gold-soft);
    margin-bottom: .5em;
}

.card p {
    color: var(--text-dim);
    margin: 0;
    font-size: .95rem;
}

.card-icon {
    font-size: 1.7rem;
    line-height: 1;
    margin-bottom: 12px;
    display: block;
}

/* ---------- Tabel harga ---------- */
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
    font-size: .93rem;
}

caption {
    caption-side: top;
    text-align: left;
    padding: 14px 18px 0;
    color: var(--text-dim);
    font-size: .85rem;
}

th,
td {
    padding: 13px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

thead th {
    background: rgba(225, 29, 72, .16);
    color: var(--gold-soft);
    font-size: .8rem;
    letter-spacing: .6px;
    text-transform: uppercase;
    white-space: nowrap;
}

tbody tr:last-child td {
    border-bottom: 0;
}

tbody tr:hover {
    background: rgba(225, 29, 72, .07);
}

td.price {
    color: var(--gold);
    font-weight: 800;
}

td .muted,
.muted {
    color: var(--text-dim);
    font-size: .8rem;
    font-weight: 400;
}

td.time {
    color: #86efac;
    font-size: .87rem;
    white-space: nowrap;
}

/* ---------- Langkah ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    counter-reset: step;
}

.step {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 20px 22px;
    counter-increment: step;
}

.step::before {
    content: counter(step);
    position: absolute;
    top: -16px;
    left: 20px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), #9f1239);
    color: #fff;
    font-weight: 800;
    border: 2px solid var(--gold);
}

.step h3 {
    margin-top: 8px;
    color: var(--gold-soft);
}

.step p {
    color: var(--text-dim);
    font-size: .93rem;
    margin: 0;
}

/* ---------- Ulasan ---------- */
.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    display: flex;
    flex-direction: column;
}

.stars {
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 1rem;
}

.review-card p {
    color: var(--text);
    font-size: .95rem;
    flex: 1;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.avatar {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand), #9f1239);
    color: #fff;
    font-weight: 800;
}

.reviewer b {
    display: block;
    font-size: .93rem;
}

.reviewer span {
    font-size: .79rem;
    color: var(--text-dim);
}

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    padding: 16px 20px;
    font-weight: 700;
    color: var(--gold-soft);
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.3rem;
    color: var(--brand-soft);
    flex-shrink: 0;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "\2212";
}

.faq-answer {
    padding: 0 20px 18px;
    color: var(--text-dim);
    font-size: .95rem;
}

/* ---------- CTA banner ---------- */
.cta-banner {
    background:
        radial-gradient(600px 300px at 50% 0%, rgba(225, 29, 72, .35), transparent 70%),
        var(--bg-card);
    border: 1px solid rgba(251, 113, 133, .45);
    border-radius: 20px;
    padding: 44px 28px;
    text-align: center;
    box-shadow: var(--shadow);
}

.cta-banner h2 {
    margin-bottom: .4em;
}

.cta-banner p {
    color: var(--text-dim);
    max-width: 620px;
    margin: 0 auto 8px;
}

.cta-banner .hero-cta {
    justify-content: center;
    margin-bottom: 0;
}

/* ---------- Info list ---------- */
.info-list {
    display: grid;
    gap: 14px;
    max-width: 860px;
    margin: 0 auto;
}

.info-list li {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-left: 3px solid var(--brand);
    border-radius: 10px;
    padding: 15px 18px;
    color: var(--text-dim);
    font-size: .95rem;
}

.info-list strong {
    color: var(--gold-soft);
}

/* ---------- Footer ---------- */
.site-footer {
    background: #080203;
    border-top: 1px solid var(--line);
    padding: 46px 0 26px;
    font-size: .91rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.1fr;
    gap: 28px;
    margin-bottom: 30px;
}

.footer-col h3 {
    color: var(--gold);
    font-size: .95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.footer-col p {
    color: var(--text-dim);
    font-size: .89rem;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li {
    margin-bottom: 9px;
}

.footer-col a {
    color: var(--text-dim);
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 20px;
    text-align: center;
    color: var(--text-dim);
    font-size: .84rem;
}

.footer-bottom a {
    color: var(--text-dim);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-visual {
        order: -1;
        max-width: 460px;
    }

    .grid-3,
    .review-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .nav-main {
        display: none;
    }

    .header-inner {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .header-cta {
        width: 100%;
    }

    .header-cta .btn {
        flex: 1;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .grid-3,
    .grid-2,
    .review-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 46px 0;
    }

    .btn {
        padding: 12px 20px;
    }

    .btn-lg {
        width: 100%;
    }

    .hero-cta .btn-lg {
        width: auto;
        flex: 1 1 140px;
    }
}

@media (max-width: 460px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .brand img {
        height: 38px;
    }
}
