/* ==========================================================================
   landing.css — beranda (/). Hero dua kolom (teks kiri, tangkapan layar aplikasi kanan yang melewati
   tepi layar) di atas grid tipis, tangkapan layar asli dalam bingkai browser, pemisah garis miring,
   lalu kartu-kartu ringkas.
   Hitam untuk aksi utama; biru = Komentar, ungu = Mention.
   ========================================================================== */

html:has(body.landing) { scroll-behavior: smooth; }
.landing main { overflow-x: clip; }
.eyebrow-strong { color: var(--ink); }

/* --- Hero ------------------------------------------------------------------------------
   .has-visual: dua kolom seperti og:image. Tanpa tangkapan layar hero kembali ke satu kolom di tengah. */

.hero { position: relative; isolation: isolate; padding: 76px 0 44px; text-align: center; }
.hero-grid {
    position: absolute; inset: -90px 0 -40px; z-index: -1;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 44px 44px; background-position: center top;
    -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 34%, #000 18%, transparent 74%);
    mask-image: radial-gradient(ellipse 62% 58% at 50% 34%, #000 18%, transparent 74%);
    opacity: .7;
}
.hero-inner, .hero-copy { display: grid; justify-items: center; }
.hero.has-visual { padding: 44px 0 64px; text-align: left; }
.hero.has-visual .hero-grid {
    -webkit-mask-image: radial-gradient(ellipse 75% 70% at 28% 40%, #000 22%, transparent 78%);
    mask-image: radial-gradient(ellipse 75% 70% at 28% 40%, #000 22%, transparent 78%);
}
.hero.has-visual .hero-inner { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); align-items: center; justify-items: stretch; gap: 56px; }
.hero.has-visual .hero-copy { justify-items: start; }
.hero.has-visual h1 { max-width: none; font-size: clamp(36px, 4.2vw, 56px); }
.hero.has-visual .hero-actions, .hero.has-visual .hero-chips { justify-content: flex-start; }
.hero.has-visual .hero-lede { max-width: 52ch; }
/* Bingkai browser lebih lebar dari kolomnya: sisi kanannya terpotong tepi layar (main memakai overflow-x: clip). */
.hero-visual { min-width: 0; }
.hero-browser { width: 900px; max-width: none; }
.hero-browser .browser-bar p { left: 64px; transform: translateY(-50%); }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px 0 10px;
    border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--sh-1);
    font-size: var(--fs-md); font-weight: 500; color: var(--ink-2);
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(63, 132, 86, .16); }
.hero h1 {
    max-width: 17ch; margin-top: 22px;
    font-size: clamp(34px, 5.4vw, 56px); font-weight: 700; line-height: 1.05; letter-spacing: -.045em; color: var(--ink);
    text-wrap: balance;
}
.hl-blue { color: #2A73A8; }
.hl-purple { color: var(--purple); }
.hero-lede { max-width: 60ch; margin-top: 18px; font-size: 16px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.hero-note { margin-top: 12px; font-size: var(--fs-md); color: var(--ink-3); }
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 720px; margin: 26px 0 0; padding: 0; list-style: none; }
.hero-chips li {
    display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px;
    border-radius: 8px; background: rgba(255, 255, 255, .8); box-shadow: var(--sh-1);
    font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--ink-2);
}
.hero-chips .icon { width: 12px; height: 12px; color: var(--ink-3); }
.chip-dot { width: 7px; height: 7px; border-radius: 2px; }
.chip-dot.is-blue { background: var(--blue); }
.chip-dot.is-purple { background: var(--purple); }

/* --- Tangkapan layar dalam bingkai browser ----------------------------------------------- */

.showcase { margin-top: 8px; }
.showcase-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: end; gap: 12px 40px; margin-bottom: 16px; }
.showcase-head h2 { margin-top: 6px; font-size: 22px; font-weight: 650; letter-spacing: -.6px; }
.showcase-head > p { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.showcase-tabs { display: inline-flex; gap: 2px; margin-bottom: 10px; padding: 3px; border-radius: 10px; background: rgba(27, 27, 25, .05); }
.showcase-tabs button {
    display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px;
    border: 0; border-radius: 7px; background: none; color: var(--ink-2); font-size: var(--fs-md); font-weight: 500;
}
.showcase-tabs button:hover { color: var(--ink); }
.showcase-tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); }
.showcase-tabs .icon { width: 13px; height: 13px; }
.browser { overflow: hidden; border-radius: 14px; background: var(--surface); box-shadow: var(--ring), 0 2px 4px rgba(27, 27, 25, .05), 0 24px 48px -16px rgba(27, 27, 25, .22); }
.browser-bar { position: relative; display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; background: var(--surface-sub); border-bottom: 1px solid var(--line-soft); }
.browser-bar > span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.browser-bar p {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    max-width: calc(100% - 120px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    padding: 2px 12px; border-radius: 6px; background: var(--surface); box-shadow: var(--ring);
    font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--ink-3);
}
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; }
.browser .shot[hidden] { display: none; }

/* --- Pemisah garis miring -------------------------------------------------------------- */

.hatch {
    width: min(1180px, 100% - 40px); height: 28px; margin: 76px auto;
    border-block: 1px solid var(--line);
    background-image: repeating-linear-gradient(-45deg, var(--line) 0 1px, transparent 1px 9px);
}

/* --- Bagian umum ---------------------------------------------------------------------- */

.section-block { scroll-margin-top: 88px; }
.section-head { display: grid; gap: 8px; margin-bottom: 28px; }
.section-head.is-center { justify-items: center; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.3vw, 36px); font-weight: 700; line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
.section-head p:not(.hero-badge) { max-width: 58ch; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.section-head .hero-badge { margin-bottom: 6px; }

/* --- Cara kerja ---------------------------------------------------------------------- */

.steps-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.steps-cards li { position: relative; padding: 18px 18px 20px; border-radius: var(--r-lg); background: var(--grad-card); box-shadow: var(--sh-2); }
.step-no { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--ink-3); }
.steps-cards h3 { margin: 22px 0 6px; font-size: 16px; font-weight: 600; letter-spacing: -.3px; }
.steps-cards p { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.guide-card {
    display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 12px;
    padding: 14px 16px 14px 18px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .7); box-shadow: var(--sh-1);
}
.guide-card .eyebrow { margin-bottom: 3px; }
.guide-card p:not(.eyebrow) { font-size: 13.5px; color: var(--ink-2); }
.guide-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.guide-link { display: inline-flex; align-items: center; gap: 5px; font-size: var(--fs-base); font-weight: 500; color: var(--ink); }
.guide-link:hover { color: var(--ink); }
.guide-link .icon { width: 13px; height: 13px; }

/* --- Fitur ------------------------------------------------------------------------------- */

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.feature-card { padding: 18px 18px 20px; border-radius: var(--r-lg); background: var(--grad-card); box-shadow: var(--sh-2); }
.feature-card h3 { margin: 16px 0 6px; font-size: 15px; font-weight: 600; letter-spacing: -.25px; }
.feature-card p { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.feature-icon { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; }
.feature-icon .icon { width: 16px; height: 16px; }
.feature-icon.is-lg { width: 40px; height: 40px; border-radius: 11px; }
.feature-icon.is-lg .icon { width: 18px; height: 18px; }
.feature-icon.tone-ink { background: var(--grad-ink); color: #FFFFFF; box-shadow: var(--sh-ink); }
.feature-icon.tone-blue { background: var(--st-info-bg); color: var(--st-info); box-shadow: inset 0 0 0 1px var(--st-info-ln); }
.feature-icon.tone-purple { background: var(--st-mention-bg); color: var(--st-mention); box-shadow: inset 0 0 0 1px var(--st-mention-ln); }
.feature-icon.tone-green { background: var(--st-cool-bg); color: var(--st-cool); box-shadow: inset 0 0 0 1px var(--st-cool-ln); }
.feature-icon.tone-amber { background: var(--st-warm-bg); color: var(--st-warm); box-shadow: inset 0 0 0 1px var(--st-warm-ln); }
.feature-icon.tone-cold { background: var(--st-cold-bg); color: var(--st-cold); box-shadow: inset 0 0 0 1px var(--st-cold-ln); }
.feature-wide-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.feature-wide {
    display: flex; align-items: center; gap: 14px; padding: 16px 18px;
    border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-2);
    color: var(--ink); text-decoration: none; transition: box-shadow .14s var(--ease);
}
.feature-wide:hover { color: var(--ink); text-decoration: none; box-shadow: var(--sh-3); }
.feature-wide-text { display: grid; gap: 3px; flex: 1; min-width: 0; }
.feature-wide-text > strong { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; letter-spacing: -.25px; }
.feature-wide-text > span { font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.feature-wide-arrow { width: 16px; height: 16px; flex: none; color: var(--ink-3); transition: transform .14s var(--ease); }
.feature-wide:hover .feature-wide-arrow { transform: translateX(2px); color: var(--ink); }

/* --- Manfaat: linimasa + log kejadian ------------------------------------------------------ */

.benefits { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: start; }
.benefits h2 { max-width: 20ch; font-size: clamp(26px, 3.3vw, 36px); font-weight: 700; line-height: 1.1; letter-spacing: -.035em; }
.muted-word { color: var(--ink-3); }
.benefits-lede { max-width: 54ch; margin-top: 14px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.timeline { display: grid; margin: 28px 0 0; padding: 0; list-style: none; }
.timeline li { position: relative; padding: 0 0 22px 28px; }
.timeline li::before { content: ""; position: absolute; left: 3px; top: 5px; width: 9px; height: 9px; border-radius: 3px; background: var(--surface); box-shadow: inset 0 0 0 2px var(--black); }
.timeline li::after { content: ""; position: absolute; left: 7px; top: 20px; bottom: 3px; width: 1px; background: var(--line-strong); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline code {
    display: inline-block; padding: 1px 6px; border-radius: 5px; background: var(--surface-alt); box-shadow: inset 0 0 0 1px var(--line-soft);
    font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--ink-3);
}
.timeline h3 { margin: 6px 0 3px; font-size: 15px; font-weight: 600; letter-spacing: -.25px; }
.timeline p { max-width: 56ch; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }

.event-log {
    position: sticky; top: 96px; padding: 14px; border-radius: 16px;
    background: linear-gradient(180deg, #262523 0%, #141413 100%); color: #EDEDE8; box-shadow: var(--sh-3);
    font-family: var(--font-mono); font-size: 12px;
}
.event-log-head { display: flex; justify-content: space-between; gap: 12px; padding: 2px 4px 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: var(--fs-sm); color: #A9A8A0; }
.event-rows { display: grid; gap: 4px; margin: 12px 0 0; padding: 0; list-style: none; }
.event-rows li {
    display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 10px;
    padding: 8px 10px; border-radius: 9px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
}
.event-rows b { font-weight: 500; color: #FFFFFF; }
.event-rows span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #BDBCB4; }
.event-rows em { padding: 1px 7px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .08); font-size: var(--fs-xs); font-style: normal; color: #D8D7D0; }
.event-rows em.ok { background: rgba(84, 180, 118, .16); color: #93D6A9; }
.event-rows em.warn { background: rgba(214, 167, 74, .17); color: #E9C67F; }
.event-sub { margin: 16px 4px 7px; font-size: var(--fs-sm); color: #93928B; }
.event-checks { display: grid; gap: 6px; margin: 0; padding: 0 4px; list-style: none; color: #D8D7D0; }
.event-checks li { display: flex; align-items: center; gap: 8px; }
.event-checks .icon { width: 13px; height: 13px; color: #93D6A9; }
.event-done {
    display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; padding: 10px 12px;
    border-radius: 10px; background: rgba(136, 67, 148, .24); box-shadow: inset 0 0 0 1px rgba(205, 150, 215, .22);
}
.event-done .icon { width: 15px; height: 15px; margin-top: 1px; flex: none; color: #DDB3E5; }
.event-done b { display: block; font-weight: 500; color: #FFFFFF; }
.event-done span { font-family: var(--font-sans); font-size: var(--fs-md); color: #D6CFDA; }
.event-foot { display: flex; align-items: center; gap: 6px; margin: 14px 4px 2px; font-size: var(--fs-sm); color: #93928B; }
.event-foot .icon { width: 12px; height: 12px; }

/* --- Harga --------------------------------------------------------------------------- */

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 370px)); justify-content: center; gap: 14px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 22px; border-radius: 16px; background: var(--grad-card); box-shadow: var(--sh-2); }
.plan h3 { font-size: 16px; font-weight: 600; letter-spacing: -.3px; }
.plan-for { margin-top: 3px; font-size: 13px; color: var(--ink-3); }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 20px; }
.plan-price b { font-size: 32px; font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
.plan-price span { font-size: 13px; color: var(--ink-3); }
.plan-tax { min-height: 18px; margin-top: 2px; font-size: var(--fs-md); color: var(--ink-3); }
.plan-list { display: grid; gap: 8px; flex: 1; align-content: start; margin: 18px 0 20px; padding: 16px 0 0; border-top: 1px solid var(--line-soft); list-style: none; font-size: 13.5px; }
.plan-list li { display: flex; align-items: flex-start; gap: 8px; }
.plan-list .icon { width: 14px; height: 14px; margin-top: 3px; flex: none; color: var(--green); }
.plan-list .is-off { color: var(--ink-3); }
.plan-list .is-off .icon { color: var(--ink-4); }
.plan-tag { position: absolute; top: 20px; right: 20px; padding: 2px 9px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); font-size: var(--fs-sm); font-weight: 500; color: #EDEDE8; }
.plan.is-featured { background: linear-gradient(180deg, #2A2927 0%, #141413 100%); color: #F4F3EE; box-shadow: var(--sh-3); }
.plan.is-featured h3 { color: #FFFFFF; }
.plan .btn { height: 36px; border-radius: 10px; }
.plan.is-featured .plan-for, .plan.is-featured .plan-price span, .plan.is-featured .plan-tax { color: #B7B6AE; }
.plan.is-featured .plan-list { border-top-color: rgba(255, 255, 255, .1); }
.plan.is-featured .plan-list .icon { color: #93D6A9; }
.plan.is-featured .btn { background: #FFFFFF; color: var(--ink); box-shadow: none; }
.plan.is-featured .btn:hover { background: #F1F0EB; color: var(--ink); }
.plans-note { max-width: 62ch; margin: 14px auto 0; text-align: center; font-size: var(--fs-md); color: var(--ink-3); }

/* --- FAQ ------------------------------------------------------------------------------- */

.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.faq-list article { padding: 16px 18px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .75); box-shadow: var(--sh-1); }
.faq-list h3 { margin-bottom: 6px; font-size: 14.5px; font-weight: 600; letter-spacing: -.2px; }
.faq-list p { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }

/* --- Ajakan akhir ------------------------------------------------------------------------ */

.final-cta {
    position: relative; isolation: isolate; display: grid; justify-items: center; gap: 10px;
    margin-top: 76px; padding: 52px 24px; border-radius: 20px; overflow: hidden;
    background: linear-gradient(180deg, #262523 0%, #141413 100%); color: #F4F3EE; text-align: center; box-shadow: var(--sh-3);
}
.final-cta::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 36px 36px; background-position: center top;
    -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000 10%, transparent 72%);
    mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000 10%, transparent 72%);
}
.final-cta h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 700; letter-spacing: -.035em; color: #FFFFFF; text-wrap: balance; }
.final-cta p { max-width: 52ch; font-size: 15px; line-height: 1.6; color: #B7B6AE; }
.final-cta .hero-actions { margin-top: 14px; }
.final-cta .btn:not(.btn-google) { background: rgba(255, 255, 255, .08); color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.final-cta .btn:not(.btn-google):hover { background: rgba(255, 255, 255, .14); color: #FFFFFF; }
.final-cta .btn-light { background: #FFFFFF !important; color: var(--ink) !important; box-shadow: none !important; }

/* --- Responsif --------------------------------------------------------------------------- */

@media (max-width: 1024px) {
    .hero.has-visual .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .hero.has-visual .hero-copy { max-width: 640px; }
    .hero-browser { width: max(560px, 118%); }
}
@media (max-width: 960px) {
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .benefits { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .event-log { position: static; }
    .showcase-head { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
    .hero, .hero.has-visual { padding: 32px 0 40px; }
    .hero-lede { font-size: 15px; }
    .hatch { margin: 52px auto; }
    .steps-cards, .faq-list, .feature-wide-row { grid-template-columns: minmax(0, 1fr); }
    .steps-cards h3 { margin-top: 12px; }
    .guide-card { flex-direction: column; align-items: flex-start; }
    .plans { grid-template-columns: minmax(0, 1fr); }
    .final-cta { margin-top: 52px; padding: 40px 20px; }
    .showcase-tabs { display: flex; overflow-x: auto; max-width: 100%; }
    .showcase-tabs button { flex: none; }
}
@media (max-width: 560px) {
    .feature-grid { grid-template-columns: minmax(0, 1fr); }
    .hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
    .hero-actions .btn { justify-content: center; }
    .browser-bar p { display: none; }
    .showcase-tabs { width: 100%; }
    .showcase-tabs button { flex: 1; justify-content: center; padding: 0 6px; }
    .showcase-tabs .icon { display: none; }
    .event-rows li { grid-template-columns: 50px minmax(0, 1fr) auto; gap: 8px; }
}
