/* RimDock landing. Tanpa font atau skrip dari luar. */
:root {
  --ink: #0d1714; --ink2: #12211d; --raise: #1b2e28; --line: #2c433b;
  --text: #e9f1ea; --muted: #9fb5aa; --accent: #ffb84d; --on-accent: #1a1406; --good: #7fd1a0;
  --r: 14px;
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--ink); color: var(--text); line-height: 1.55; overflow-x: hidden; }
a { color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--accent); color: var(--on-accent); padding: 8px 12px; z-index: 20; }

/* ---------- navigasi ---------- */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 28px; padding: 14px clamp(16px, 4vw, 48px);
  background: color-mix(in srgb, var(--ink) 82%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid #ffffff0d; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; letter-spacing: -.01em; }
.nav nav { display: flex; gap: 22px; margin-right: auto; }
.nav nav a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .15s; }
.nav nav a:hover { color: var(--text); }
.nav-end { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; padding: 2px; }
.lang span { padding: 3px 9px; border-radius: 999px; transition: background .2s, color .2s; }
html[lang="en"] .lang [data-l="en"], html[lang="id"] .lang [data-l="id"] { background: var(--raise); color: var(--text); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none;
  background: var(--accent); color: var(--on-accent); border: 1px solid var(--accent); transition: transform .15s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn.ghost { background: none; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--muted); box-shadow: none; }
.btn.small { padding: 8px 16px; font-size: 14px; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: clamp(48px, 8vw, 110px) clamp(16px, 4vw, 48px) 64px; max-width: 1360px; margin: 0 auto; }
.eyebrow { color: var(--accent); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -.035em; margin: 14px 0 20px; font-weight: 700; }
h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), #ffd89c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin-top: 26px; color: var(--muted); font-size: 14px; }
.facts li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--good); margin-right: 8px; vertical-align: middle; }
.hero-copy > * { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; } .hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; } .hero-copy > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- desktop palsu dengan dock ---------- */
.desk { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; border: 1px solid #ffffff14;
  box-shadow: 0 40px 80px -30px #000c, 0 0 0 8px #ffffff06; animation: rise 1s .2s cubic-bezier(.2, .8, .2, 1) both; }
.wall { position: absolute; inset: -10%; background: radial-gradient(60% 70% at 20% 30%, #2d6f63, transparent 70%), radial-gradient(50% 60% at 85% 70%, #b3632e, transparent 70%),
  radial-gradient(70% 70% at 60% 10%, #3b2f63, transparent 70%), #0b1311; filter: saturate(1.1); animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(4%, -3%) scale(1.06); } }
.win { position: absolute; border-radius: 10px; background: #f4f6f5e6; box-shadow: 0 20px 40px -18px #000a; display: grid; gap: 7px; padding: 34px 16px 16px; }
.win::before { content: ""; position: absolute; top: 12px; left: 14px; width: 42px; height: 9px; border-radius: 6px; background: linear-gradient(90deg, #ff6b5e 0 9px, transparent 9px 16px, #ffbd2e 16px 25px, transparent 25px 32px, #29c840 32px); }
.win span { height: 9px; border-radius: 5px; background: #cfd8d4; }
.win span:nth-child(2) { width: 70%; } .win span:nth-child(3) { width: 40%; }
.w1 { left: 8%; top: 26%; width: 46%; height: 52%; animation: float 9s ease-in-out infinite; }
.w2 { right: 7%; top: 40%; width: 34%; height: 40%; background: #1c2724ee; animation: float 11s ease-in-out -3s infinite; }
.w2 span { background: #33443e; }
@keyframes float { 50% { transform: translateY(-8px); } }

.dock { --bg: #12211d; --tile: transparent; --tline: #2c433b; --tx: #e9f1ea; --mu: #8fa79b; --rad: 0px; --gap: 0px; --sh: none; --pad: 0px;
  position: absolute; left: 0; right: 0; top: 0; z-index: 2; display: flex; gap: var(--gap); padding: var(--pad); height: 52px; box-sizing: content-box;
  background: var(--bg); border-bottom: 1px solid var(--tline); color: var(--tx); font-size: 11px; transition: background .5s, padding .5s, gap .5s; }
.dock .t { display: flex; align-items: center; gap: 8px; padding: 0 12px; background: var(--tile); border-right: 1px solid var(--tline); border-radius: var(--rad); box-shadow: var(--sh);
  white-space: nowrap; transition: background .5s, border-radius .5s, box-shadow .5s, border-color .5s; opacity: 0; animation: slot .55s cubic-bezier(.2, .9, .3, 1.2) forwards; }
.dock .t:nth-child(1) { animation-delay: .6s; } .dock .t:nth-child(2) { animation-delay: .7s; } .dock .t:nth-child(3) { animation-delay: .8s; }
.dock .t:nth-child(4) { animation-delay: .9s; flex: 1; justify-content: center; } .dock .t:nth-child(5) { animation-delay: 1s; } .dock .t:nth-child(6) { animation-delay: 1.1s; } .dock .t:nth-child(7) { animation-delay: 1.2s; }
@keyframes slot { from { opacity: 0; transform: translateY(-14px) scale(.96); } to { opacity: 1; transform: none; } }
.dock .col { display: flex; flex-direction: column; line-height: 1.15; }
.dock .col i, .dock .row i { font-style: normal; color: var(--mu); }
.dock b { font-weight: 650; font-size: 13px; }
.dock .time { font-size: 21px; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dock .ico { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.dock .full { width: 112px; gap: 1px; }
.dock .row { display: flex; justify-content: space-between; font-size: 10px; }
.dock .bar { height: 3px; background: var(--tline); border-radius: 2px; overflow: hidden; margin-bottom: 2px; }
.dock .bar i { display: block; height: 100%; width: 40%; background: var(--accent); transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }
.dock .app { width: 30px; height: 30px; display: grid; place-items: center; position: relative; transition: transform .2s; }
.dock .app i { width: 22px; height: 22px; border-radius: 6px; background: var(--c); box-shadow: inset 0 -3px 0 #0002; }
.dock .app.on::after { content: ""; position: absolute; top: -2px; left: 50%; width: 8px; height: 2px; margin-left: -4px; background: var(--mu); }
.dock .app.act::after { width: 18px; margin-left: -9px; background: var(--accent); }
.dock .app:hover { transform: scale(1.18); }
.dock .vb { width: 5px; height: 26px; background: var(--tline); position: relative; border-radius: 2px; overflow: hidden; }
.dock .vb i { position: absolute; inset: auto 0 0 0; height: 30%; background: var(--accent); transition: height .8s; }
.dock .spark { width: 64px; height: 24px; }
.dock .sp { fill: none; stroke: var(--accent); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.dock .art { width: 28px; height: 28px; border-radius: 4px; background: conic-gradient(from 200deg, #e8743b, #7c4dff, #2d6f63, #e8743b); animation: spin 8s linear infinite; }
@keyframes spin { to { filter: hue-rotate(360deg); } }
.dock .prog { display: block; width: 80px; height: 3px; background: var(--tline); border-radius: 2px; margin-top: 4px; overflow: hidden; }
.dock .prog i { display: block; height: 100%; width: 10%; background: var(--tx); transition: width 1s linear; }

/* lima desain (meniru desain di aplikasi) */
.dock[data-design="glass"] { --bg: #0d151c40; --tile: linear-gradient(135deg, #ffffff38, #ffffff12 60%); --tline: #ffffff33; --rad: 12px; --gap: 6px; --pad: 5px 8px; --sh: inset 0 1px 0 #ffffff80, 0 3px 10px #0005; backdrop-filter: blur(14px) saturate(1.4); border-bottom: 0; }
.dock[data-design="clay"] { --bg: #2c2836; --tile: #57486f; --tline: #ffffff2e; --tx: #fff6ec; --mu: #e0d3cf; --rad: 18px; --gap: 8px; --pad: 4px 10px 7px;
  --sh: inset 0 4px 5px #ffffff3d, inset 0 -5px 7px #00000052, 0 4px 6px #0000006b; border-bottom: 0; }
.dock[data-design="clay"] .t:nth-child(5n+2) { --tile: #2f6157; } .dock[data-design="clay"] .t:nth-child(5n+3) { --tile: #71592f; } .dock[data-design="clay"] .t:nth-child(5n+4) { --tile: transparent; --sh: none; } .dock[data-design="clay"] .t:nth-child(5n) { --tile: #703f56; }
.dock[data-design="skeu"] { --bg: radial-gradient(#0000 1px, #00000059 2px) 0 0 / 5px 5px, linear-gradient(#3d2c22, #1f1611); --tile: linear-gradient(#ffffff2b, #ffffff0a 46%, #0000 47%), linear-gradient(#15110e, #2a221c);
  --tline: #0008; --tx: #ffdca8; --mu: #d0ab79; --rad: 8px; --gap: 7px; --pad: 5px 10px; --sh: inset 0 3px 6px #000a, 0 0 0 2px #8a837a, 0 1px 0 3px #00000080; }
.dock[data-design="soft"] { --bg: #282d35; --tile: #282d35; --tline: #3b424d; --rad: 14px; --gap: 12px; --pad: 7px 12px; --sh: 3px 3px 7px #181b20, -3px -3px 7px #3a414c; border-bottom: 0; }
.dock[data-design] .t:nth-child(4) { --tile: transparent; --sh: none; }
.dock[data-tone="light"] { --tx: #1f2a37; --mu: #4c5866; }
.dock[data-tone="light"][data-design="flat"] { --bg: #f3eee2; --tline: #d3c9b2; }
.dock[data-tone="light"][data-design="glass"] { --bg: #ffffff33; --tile: linear-gradient(135deg, #ffffffc7, #ffffff80 60%); --tline: #0d1c2833; }
.dock[data-tone="light"][data-design="clay"] { --bg: #f4e4d7; --tile: #ffd6bd; --tline: #6b4a3433; --sh: inset 0 4px 5px #ffffffd9, inset 0 -5px 7px #8c573333, 0 4px 6px #8c573352; }
.dock[data-tone="light"][data-design="clay"] .t:nth-child(5n+2) { --tile: #c9ebda; } .dock[data-tone="light"][data-design="clay"] .t:nth-child(5n+3) { --tile: #ffe6a3; } .dock[data-tone="light"][data-design="clay"] .t:nth-child(5n) { --tile: #f8cddb; }
.dock[data-tone="light"][data-design="skeu"] { --bg: linear-gradient(#e6e8ea, #b3b7bb 50%, #cfd2d5); --tile: linear-gradient(#b5bfa0, #ccd5b9); --tx: #1b2413; --mu: #3c482f; --sh: inset 0 2px 4px #0006, 0 0 0 2px #f7f8f9, 0 1px 0 3px #7d8286; }
.dock[data-tone="light"][data-design="soft"] { --bg: #e3e8ef; --tile: #e3e8ef; --tline: #cbd3de; --sh: 3px 3px 7px #b4bdcb, -3px -3px 7px #fff; }
.dock[data-design] .t:nth-child(4) { --tile: transparent; --sh: none; }

/* ---------- bagian ---------- */
section { padding: clamp(56px, 8vw, 110px) clamp(16px, 4vw, 48px); max-width: 1240px; margin: 0 auto; }
h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.03em; line-height: 1.08; max-width: 18em; }
.band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; padding: 0; }
.band div { background: var(--ink2); padding: 26px 22px; display: flex; flex-direction: column; }
.band b { font-size: 40px; letter-spacing: -.03em; color: var(--accent); line-height: 1.1; }
.band span { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.card { background: var(--ink2); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: transform .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.card h3 { font-size: 19px; margin: 16px 0 8px; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: 15px; }
.glyph { display: block; width: 44px; height: 44px; border-radius: 12px; background: var(--raise); position: relative; overflow: hidden; }
.glyph::before, .glyph::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; }
.g1::before { left: 10px; right: 10px; top: 14px; height: 4px; } .g1::after { left: 10px; width: 14px; top: 24px; height: 4px; animation: fill 2.4s ease-in-out infinite alternate; }
@keyframes fill { to { width: 24px; } }
.g2::before { inset: 12px; border-radius: 50%; background: none; border: 3px solid var(--accent); } .g2::after { width: 9px; height: 3px; right: 8px; bottom: 11px; transform: rotate(45deg); }
.g3::before { left: 11px; width: 5px; bottom: 10px; height: 16px; animation: bars 1.8s ease-in-out infinite alternate; } .g3::after { left: 21px; width: 5px; bottom: 10px; height: 22px; animation: bars 1.8s ease-in-out -.9s infinite alternate; }
@keyframes bars { to { height: 8px; } }
.g4::before { inset: 11px; background: none; border: 3px solid var(--accent); border-radius: 4px; } .g4::after { left: 11px; right: 11px; top: 17px; height: 3px; }
.g5::before { left: 10px; bottom: 12px; width: 24px; height: 3px; transform: rotate(-28deg); transform-origin: left; } .g5::after { right: 9px; top: 10px; width: 7px; height: 7px; border-radius: 50%; }
.g6::before { left: 12px; top: 12px; width: 20px; height: 20px; border-radius: 50%; background: none; border: 3px solid var(--accent); border-right-color: transparent; animation: turn 3s linear infinite; } .g6::after { display: none; }
@keyframes turn { to { transform: rotate(360deg); } }

.designs { text-align: center; }
.designs h2, .designs p { margin-left: auto; margin-right: auto; }
.designs-copy p { color: var(--muted); max-width: 36em; margin-top: 14px; font-size: 18px; }
.switch { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 30px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--ink2); }
.switch button { font: inherit; font-size: 15px; color: var(--muted); background: none; border: 0; padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.switch button:hover { color: var(--text); }
.switch button.on, .switch .tone[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.switch .sep { width: 1px; background: var(--line); margin: 4px 2px; }
.hint { color: var(--muted); font-size: 14px; margin-top: 14px; }

.themes { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.themes p { color: var(--muted); margin-top: 16px; font-size: 17px; }
.link { display: inline-block; margin-top: 18px; color: var(--accent); text-decoration: none; font-weight: 600; }
.theme-cards { display: grid; gap: 14px; }
.tc { display: flex; justify-content: space-between; align-items: end; height: 92px; padding: 16px 18px; border-radius: var(--r); color: #fff;
  background: linear-gradient(110deg, var(--a), var(--b)); border: 1px solid #ffffff1f; transition: transform .3s; }
.tc:nth-child(2) { margin-left: 28px; box-shadow: 0 0 22px -6px var(--accent); border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.tc:nth-child(3) { margin-left: 56px; color: #2b2238; border-style: dashed; border-color: #00000033; }
.tc:hover { transform: translateX(-6px); }
.tc b { font-size: 20px; } .tc i { font-style: normal; font-size: 13px; opacity: .8; }

.privacy ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.privacy li { padding: 18px 20px 18px 48px; background: var(--ink2); border: 1px solid var(--line); border-radius: var(--r); position: relative; color: var(--muted); }
.privacy li::before { content: ""; position: absolute; left: 20px; top: 22px; width: 12px; height: 7px; border-left: 2px solid var(--good); border-bottom: 2px solid var(--good); transform: rotate(-45deg); }

.price-card { max-width: 620px; margin: 0 auto; text-align: center; padding: 44px clamp(20px, 5vw, 56px); border-radius: 24px; border: 1px solid var(--line);
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--accent) 14%, var(--ink2)), var(--ink2) 60%); }
.price-card h2 { margin: 0 auto; }
.price { margin: 18px 0 10px; } .amount { font-size: 44px; letter-spacing: -.03em; }
.price-card ul { list-style: none; padding: 0; text-align: left; display: inline-grid; gap: 10px; margin: 14px 0 6px; color: var(--muted); }
.price-card li::before { content: "✓"; color: var(--good); margin-right: 10px; font-weight: 700; }
.price-card .cta-row { justify-content: center; }
.small-print { color: var(--muted); font-size: 13px; margin-top: 18px; }

.faq { max-width: 860px; }
.faq h2 { margin-bottom: 26px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin-top: 10px; max-width: 44em; }

.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 28px clamp(16px, 4vw, 48px); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot a { color: var(--muted); }

/* muncul saat digulir */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* Tile dock mengikuti lebar bingkai desktop, bukan lebar layar. */
.desk { container-type: inline-size; }
@container (max-width: 1100px) { .dock .t.media { display: none; } }
@container (max-width: 920px) { .dock .t.weather { display: none; } }
@container (max-width: 760px) { .dock .t.net { display: none; } }
@container (max-width: 580px) { .dock .t.ai { display: none; } }
@container (max-width: 430px) { .dock .t.cpu { display: none; } }
@media (max-width: 980px) {
  .hero, .themes { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .nav nav { display: none; }
}
@media (max-width: 620px) {
  .grid, .privacy ul { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr 1fr; }
  .tc:nth-child(n) { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .dock .t { opacity: 1; transform: none; }
}

/* harga coret */
.price .was { margin-left: .75rem; font-size: 1.35rem; font-weight: 500; opacity: .6; text-decoration: line-through; text-decoration-thickness: 2px; vertical-align: middle; }
/* atribut hidden selalu menang atas display tombol */
[hidden] { display: none !important; }
