/* Aakasta Interactive — situs studio. Satu stylesheet, tanpa framework. */
:root {
  --paper: #f7f3ea;
  --paper-2: #efe8d8;
  --card: #fffdf8;
  --ink: #14213d;
  --ink-2: #3c4760;
  --muted: #6b7386;
  --line: #e2d9c5;
  --sun: #f2a900;
  --sun-ink: #8a5f00;
  --chili: #d9452b;
  --leaf: #2f8f5b;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(20, 33, 61, 0.06), 0 12px 32px -12px rgba(20, 33, 61, 0.22);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 5; background: rgba(247, 243, 234, 0.88); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -0.01em; font-size: 18px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand small { display: block; font-weight: 600; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: -3px; }
.nav { margin-left: auto; display: flex; gap: 6px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 8px 12px; border-radius: 10px; color: var(--ink-2); }
.nav a:hover { background: var(--paper-2); color: var(--ink); }

/* ---------- Tombol ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 15.5px; padding: 13px 20px; border-radius: 12px; border: 0; cursor: pointer; transition: transform 0.12s, background-color 0.15s, box-shadow 0.15s; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--ink); color: #fff; box-shadow: 0 6px 16px -6px rgba(20, 33, 61, 0.55); }
.btn.primary:hover { background: #1d2f55; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { background: var(--card); }
.btn.sun { background: var(--sun); color: var(--ink); }
.btn.sun:hover { background: #ffb912; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sun-ink); background: #fbe9bf; padding: 6px 12px; border-radius: 99px; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px rgba(242, 169, 0, 0.25); }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; margin: 18px 0 18px; }
.hero h1 em { font-style: normal; color: var(--chili); }
.hero .lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); max-width: 34em; margin: 0 0 28px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

/* Jalan & garis horizon di belakang hero */
.road { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; pointer-events: none; opacity: 0.55; }
.road::before { content: ''; position: absolute; inset: auto 0 38px 0; height: 4px; background: repeating-linear-gradient(90deg, var(--sun) 0 34px, transparent 34px 62px); animation: drive 6s linear infinite; }
.road::after { content: ''; position: absolute; inset: auto 0 0 0; height: 78px; background: linear-gradient(var(--paper-2), var(--paper-2)); border-top: 2px solid var(--line); z-index: -1; }
@keyframes drive { to { background-position: -62px 0; } }
@media (prefers-reduced-motion: reduce) { .road::before { animation: none; } html { scroll-behavior: auto; } }

/* Mockup HP */
.phone-stage { position: relative; justify-self: center; }
.phone { position: relative; width: min(300px, 70vw); aspect-ratio: 390 / 844; border-radius: 42px; background: #0f1728; padding: 11px; box-shadow: 0 30px 60px -20px rgba(20, 33, 61, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06) inset; transform: rotate(3deg); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; }
.phone::before { content: ''; position: absolute; top: 20px; left: 50%; width: 72px; height: 20px; margin-left: -36px; border-radius: 99px; background: #0f1728; z-index: 1; }
.sticker { position: absolute; background: var(--card); border-radius: 14px; box-shadow: var(--shadow); padding: 10px 14px; font-size: 13px; font-weight: 600; line-height: 1.3; display: flex; align-items: center; gap: 10px; }
.sticker b { display: block; font-size: 15px; }
.sticker .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.sticker.a { left: -70px; top: 18%; transform: rotate(-4deg); }
.sticker.a .dot { background: #fde7b0; }
.sticker.b { right: -54px; bottom: 16%; transform: rotate(3deg); }
.sticker.b .dot { background: #d7efe0; }

/* ---------- Bagian umum ---------- */
section { scroll-margin-top: 80px; }
.sec { padding: 84px 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.03em; line-height: 1.1; margin: 0; font-weight: 800; }
.sec-head p { margin: 0; color: var(--ink-2); max-width: 30em; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }

/* ---------- Kartu game ---------- */
.game { display: grid; grid-template-columns: 1.25fr 1fr; background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.game + .game { margin-top: 28px; }
.game.flip { grid-template-columns: 1fr 1.25fr; }
.game.flip .shot { order: 2; }
.game .shot { position: relative; background: #1b2540; min-height: 320px; }
.game .shot img { width: 100%; height: 100%; object-fit: cover; }
.game .shot .badge { position: absolute; left: 16px; top: 16px; background: rgba(15, 23, 40, 0.78); color: #fff; font-size: 12.5px; font-weight: 700; padding: 6px 10px; border-radius: 99px; backdrop-filter: blur(6px); display: flex; align-items: center; gap: 7px; }
.game .shot .badge i { width: 8px; height: 8px; border-radius: 50%; background: #45d483; box-shadow: 0 0 0 3px rgba(69, 212, 131, 0.25); }
.game .body { padding: 34px 34px 32px; display: flex; flex-direction: column; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tag { font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--paper-2); color: var(--ink-2); }
.game h3 { font-size: 30px; letter-spacing: -0.025em; line-height: 1.12; margin: 0 0 10px; font-weight: 800; }
.game .desc { color: var(--ink-2); margin: 0 0 18px; }
.feats { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; }
.feats li { position: relative; padding-left: 28px; font-size: 15px; }
.feats li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 6px; background: #fde7b0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a5f00' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.game.green .feats li::before { background-color: #d7efe0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6b43' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.platforms { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13.5px; color: var(--muted); margin: auto 0 18px; }
.platforms span { display: inline-flex; align-items: center; gap: 6px; }
.platforms svg { width: 16px; height: 16px; }
.game .ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Studio ---------- */
.studio { background: var(--ink); color: #eef1f7; }
.studio .sec-head p { color: #b9c1d3; }
.studio .kicker { color: #8f9ab3; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: var(--radius); padding: 26px; }
.pillar .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(242, 169, 0, 0.14); color: var(--sun); margin-bottom: 16px; }
.pillar .ic svg { width: 22px; height: 22px; }
.pillar h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.01em; }
.pillar p { margin: 0; color: #b9c1d3; font-size: 15px; }
.roadmap { margin-top: 40px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 14px; color: #b9c1d3; }
.roadmap b { color: #fff; }
.roadmap .stops { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.roadmap .stop { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); }
.roadmap .stop.now { background: var(--sun); color: var(--ink); font-weight: 700; }
.roadmap .dash { width: 22px; height: 2px; background: repeating-linear-gradient(90deg, #5c6886 0 4px, transparent 4px 8px); }

/* ---------- YouTube & kontak ---------- */
.cta-band { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); }
.panel h3 { font-size: 24px; letter-spacing: -0.02em; margin: 0 0 8px; }
.panel p { color: var(--ink-2); margin: 0 0 20px; }
.panel.yt .btn { background: #e62117; color: #fff; }
.panel.yt .btn:hover { background: #c81a12; }
.mail { font-weight: 700; font-size: 18px; text-decoration: none; border-bottom: 2px solid var(--sun); }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 32px 0 44px; font-size: 14px; color: var(--muted); }
.foot .wrap { display: flex; gap: 18px 28px; align-items: center; flex-wrap: wrap; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; }
.foot a { text-decoration: none; font-weight: 600; color: var(--ink-2); }
.foot a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Halaman dokumen (privasi, hapus akun) ---------- */
.doc { padding: 48px 0 80px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(32px, 4.4vw, 46px); letter-spacing: -0.03em; line-height: 1.1; margin: 8px 0 8px; }
.doc .meta { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.doc h2 { font-size: 22px; letter-spacing: -0.015em; margin: 38px 0 10px; }
.doc h3 { font-size: 17px; margin: 22px 0 6px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc .box { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 18px 0; }
.doc .box p { margin: 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 10px 0 6px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.doc .table-scroll { overflow-x: auto; }
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding: 2px 0 12px 44px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }

/* ---------- Responsif ---------- */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 56px; }
  .phone-stage { margin-bottom: 20px; }
  .game, .game.flip { grid-template-columns: 1fr; }
  .game.flip .shot { order: 0; }
  .game .shot { min-height: 0; aspect-ratio: 16 / 10; }
  .pillars { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .nav a:not(.keep) { display: none; }
  .hero { padding: 36px 0 64px; }
  .game .body { padding: 24px 22px 26px; }
  .game h3 { font-size: 26px; }
  .sec { padding: 64px 0; }
  .sticker.a { left: -24px; }
  .sticker.b { right: -18px; }
  .panel { padding: 24px; }
  .foot nav { margin-left: 0; }
}
