/* Landing page rela.my.id — gaya (dirender oleh src/render.js) */
:root {
    --navy: #0E1A33; --navy-2: #16264a; --orange: #F97316; --orange-d: #EA580C; --orange-t: #C2410C;
    --cream: #FFF6EC; --ink: #1C1917; --muted: #5B6576; --line: #E7E5E4; --bg: #FAFAF9; --white: #fff;
    --grad: linear-gradient(90deg, #FFA41B, #F2541B);
    --r: 18px; --shadow: 0 30px 60px -20px rgba(14, 26, 51, .35), 0 12px 24px -12px rgba(14, 26, 51, .25);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: Urbanist, Inter, sans-serif; color: var(--navy); line-height: 1.1; margin: 0; letter-spacing: -.01em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 14px; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 20px -10px rgba(249, 115, 22, .8); }
.btn-primary:hover { background: var(--orange-d); }
.btn-ghost { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.btn-wa { background: #16a34a; color: #fff; box-shadow: 0 10px 20px -10px rgba(22, 163, 74, .8); }
.btn-wa:hover { background: #15803d; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- header */
header { position: sticky; top: 0; z-index: 30; background: rgba(255, 246, 236, .86); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(14, 26, 51, .06); }
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.nav .logo img { height: 34px; width: auto; }
.nav nav { display: flex; gap: 22px; margin-left: auto; font-weight: 500; font-size: 15px; }
.nav nav a { text-decoration: none; color: var(--muted); }
.nav nav a:hover { color: var(--navy); }
.nav .btn { padding: 10px 16px; font-size: 15px; }
.nav .login { text-decoration: none; font-weight: 600; color: var(--navy); font-size: 15px; }

/* ---------- hero */
.hero { background: radial-gradient(1100px 500px at 50% -10%, #ffe7cf 0%, transparent 70%), var(--cream); padding: 64px 0 0; overflow: hidden; }
.hero-text { text-align: center; max-width: 820px; margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid #fde3c8; color: var(--orange-t); font-weight: 600; font-size: 14px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(249, 115, 22, .18); }
.hero h1 { font-size: clamp(34px, 6.2vw, 68px); font-weight: 800; margin: 22px 0 18px; text-wrap: balance; }
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); margin: 0 auto 30px; max-width: 660px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.promo { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; margin-top: 22px; font-size: 15px; color: var(--navy); }
.promo b { background: var(--navy); color: #fff; padding: 3px 10px; border-radius: 8px; font-weight: 700; }
.promo small { color: var(--muted); }
.checks { display: flex; gap: 8px 22px; justify-content: center; flex-wrap: wrap; margin: 18px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.checks li { display: flex; align-items: center; gap: 6px; }
.checks svg { width: 16px; height: 16px; color: #16a34a; }

/* ---------- perangkat (laptop + tablet) */
.devices { position: relative; margin: 56px auto 0; width: min(1000px, 100%); padding-bottom: 120px; }
.laptop { width: 86%; margin-right: auto; position: relative; }
.laptop .lid { background: #0b1222; border-radius: 22px 22px 0 0; padding: 2.2% 2.2% 2.6%; box-shadow: var(--shadow); position: relative; }
.laptop .lid::before { content: ""; position: absolute; top: .9%; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #1f2a44; }
.screen { border-radius: 6px; overflow: hidden; background: #fff; aspect-ratio: 16 / 10; }
.screen img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.laptop .base { height: 22px; margin: 0 -7%; background: linear-gradient(#d9dce3, #aeb4c0); border-radius: 0 0 26px 26px / 0 0 18px 18px; position: relative; box-shadow: 0 18px 30px -18px rgba(14, 26, 51, .5); }
.laptop .base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 8px; margin-left: -8%; background: #9aa1ae; border-radius: 0 0 10px 10px; }
.tablet { position: absolute; right: 0; bottom: 40px; width: 46%; background: #0b1222; border-radius: 26px; padding: 2.2%; box-shadow: var(--shadow); border: 1px solid #27324d; transform: rotate(-1.5deg); }
.tablet .screen { border-radius: 12px; aspect-ratio: 16 / 10; }
.tag { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: 0 14px 30px -14px rgba(14, 26, 51, .45); font-size: 14px; font-weight: 600; color: var(--navy); }
.tag span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--cream); color: var(--orange-t); }
.tag span svg { width: 18px; height: 18px; }
.tag small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.tag.t1 { left: -2%; top: 18%; }
.tag.t2 { right: 49%; bottom: 64px; }

/* ---------- section */
section { padding: 88px 0; }
.head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.head .kicker { color: var(--orange-t); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin: 10px 0 12px; }
.head p { color: var(--muted); margin: 0; font-size: 17px; }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 18px 30px -22px rgba(14, 26, 51, .4); transform: translateY(-2px); }
.card .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--cream); color: var(--orange-t); margin-bottom: 16px; }
.card .ic svg { width: 22px; height: 22px; }
.card h3 { font-size: 19px; margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 20px; }

/* ---------- dua sisi */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 88px; }
.split.rev { grid-template-columns: 1fr 1.15fr; }
.split.rev .shot { order: 2; }
.shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; aspect-ratio: 16 / 10; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.split h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin: 10px 0 14px; }
.split .kicker { color: var(--orange-t); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.split p { color: var(--muted); margin: 0 0 18px; font-size: 17px; }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.list li { display: flex; gap: 12px; align-items: flex-start; }
.list li svg { flex: none; width: 22px; height: 22px; color: var(--orange); margin-top: 2px; }

/* ---------- harga */
.price { background: var(--navy); color: #fff; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.price::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(249, 115, 22, .35), transparent 70%); }
.price h2 { color: #fff; font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.price p { color: #c5cbd8; font-size: 17px; }
.price .badge { display: inline-block; background: var(--grad); color: #fff; font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.amount { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; padding: 30px; position: relative; z-index: 1; }
.amount .from { color: #c5cbd8; font-size: 15px; }
.amount .big { font-family: Urbanist, sans-serif; font-weight: 800; font-size: clamp(44px, 6vw, 64px); line-height: 1; margin: 6px 0 4px; }
.amount .big small { font-size: 20px; font-weight: 700; color: #c5cbd8; }
.amount ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; color: #e2e6ee; font-size: 15px; }
.amount ul li { display: flex; gap: 10px; }
.amount ul svg { width: 18px; height: 18px; color: #4ade80; flex: none; margin-top: 3px; }
.amount .fine { color: #9aa3b5; font-size: 12.5px; margin: 14px 0 0; }
.amount .btn { width: 100%; }

/* ---------- faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; color: var(--navy); font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--orange); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 20px; color: var(--muted); }

/* ---------- penutup */
.final { text-align: center; background: var(--cream); border-radius: 28px; padding: 64px 24px; }
.final h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 12px; }
.final p { color: var(--muted); margin: 0 auto 28px; max-width: 560px; font-size: 17px; }
footer { padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
footer .row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 28px; }
footer img { height: 28px; width: auto; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--navy); }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #16a34a; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 28px -10px rgba(22, 163, 74, .9); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- responsif */
/* ruang sempit: kolom grid boleh menyusut (teks/tombol panjang tidak mendorong keluar layar) */
.split > *, .price > *, .amount { min-width: 0; }
h2, h3, summary { overflow-wrap: anywhere; }
@media (max-width: 1100px) {
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
    .split, .split.rev, .price { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .split.rev .shot { order: 0; }
    .price { padding: 36px 24px; }
}
@media (max-width: 760px) {
    .nav nav { display: none; }
    .nav .login { margin-left: auto; }
    .hero { padding-top: 40px; }
    .devices { padding-bottom: 48%; margin-top: 40px; }
    .laptop { width: 100%; }
    .laptop .lid { border-radius: 14px 14px 0 0; }
    .laptop .base { height: 12px; margin: 0 -4%; }
    .tablet { width: 70%; right: 3%; border-radius: 16px; }
    .tag { display: none; }
    section { padding: 64px 0; }
    .cta .btn, .amount .btn { width: 100%; white-space: normal; text-align: center; }
    .price { padding: 28px 18px; border-radius: 22px; }
    .amount { padding: 22px 18px; }
    .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
    .wa-float svg { width: 26px; height: 26px; }
    .cta { flex-direction: column; }
    .nav { gap: 14px; }
    .nav .btn { padding: 9px 14px; font-size: 14px; }
    .card { padding: 20px; }
}
@media (max-width: 560px) {
    .grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .card, .wa-float { transition: none; } }
