/* Kelas AI Jogja — Future Makers
   Tema: ungu Pixi di atas putih. Gaya "clay": bentuk tebal, lembut, seperti mainan 3D.
   Satu elemen yang paling diingat: Pixi 3D di beranda. Sisanya sengaja tenang. */

:root {
  /* Warna */
  --white: #ffffff;
  --bg: #ffffff;
  --bg-lav: #f6f3ff;
  --bg-lav-2: #ebe6ff;
  --ink: #2a2270;
  --ink-soft: #5a5488;
  --line: #e4defe;
  --pixi: #6c5ce7;
  --pixi-light: #8a7df2;
  --pixi-deep: #3f33a8;
  --pixi-soft: #f3f0ff;
  --pixi-mid: #dcd5ff;
  --star: #ffc83d;
  --star-deep: #e0a400;
  --star-soft: #fff3c9;
  --blush: #ff7fa6;
  --blush-soft: #ffe6ee;
  --wa: #22b861;
  --wa-light: #3fd27c;
  --wa-deep: #15823f;

  /* Bentuk */
  --r-lg: 30px;
  --r-md: 22px;
  --r-sm: 14px;
  --clay: 0 2px 0 rgba(255,255,255,.95) inset, 0 -7px 0 rgba(108,92,231,.07) inset, 0 20px 36px -14px rgba(108,92,231,.32);
  --clay-lg: 0 2px 0 rgba(255,255,255,.95) inset, 0 -8px 0 rgba(108,92,231,.08) inset, 0 28px 50px -16px rgba(108,92,231,.4);

  --font-head: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--pixi); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; margin: 0; color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--pixi); outline-offset: 3px; border-radius: 10px; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; }
.skip-link:focus { left: 12px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }
.section.lav, .section.soft { background: var(--bg-lav); }

/* Label kecil di atas judul hanya dipakai bila memberi tahu isi bagian */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  color: var(--pixi-deep); background: var(--pixi-soft); padding: 5px 15px; border-radius: 999px;
  box-shadow: 0 -3px 0 rgba(108,92,231,.1) inset;
}
.eyebrow svg { width: 18px; height: 18px; flex: none; }
.eyebrow.sun { background: var(--star-soft); color: #8a5a00; box-shadow: 0 -3px 0 rgba(224,164,0,.18) inset; }
.eyebrow.mint { background: var(--pixi-soft); color: var(--pixi-deep); }
.eyebrow.coral { background: var(--blush-soft); color: #b0305a; box-shadow: 0 -3px 0 rgba(255,127,166,.25) inset; }

.section-head { max-width: 700px; margin-bottom: 46px; }
.section-head h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.section-head .eyebrow + h2 { margin-top: 14px; }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 1.12rem; max-width: 60ch; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }

/* ---------- Tombol: tebal, seperti ditekan ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; line-height: 1.2;
  padding: 14px 30px; border-radius: 999px; border: 0; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(4px); }
.btn-primary { color: #fff; background: linear-gradient(180deg, var(--pixi-light), var(--pixi)); box-shadow: 0 6px 0 var(--pixi-deep), 0 16px 24px -6px rgba(108,92,231,.5), inset 0 2px 0 rgba(255,255,255,.35); }
.btn-primary:active { box-shadow: 0 2px 0 var(--pixi-deep), 0 6px 12px -4px rgba(108,92,231,.5), inset 0 2px 0 rgba(255,255,255,.35); }
.btn-wa { color: #fff; background: linear-gradient(180deg, var(--wa-light), var(--wa)); box-shadow: 0 6px 0 var(--wa-deep), 0 16px 24px -6px rgba(34,184,97,.5), inset 0 2px 0 rgba(255,255,255,.35); }
.btn-wa:active { box-shadow: 0 2px 0 var(--wa-deep), 0 6px 12px -4px rgba(34,184,97,.5), inset 0 2px 0 rgba(255,255,255,.35); }
.btn-ghost { color: var(--pixi-deep); background: #fff; box-shadow: 0 6px 0 var(--pixi-mid), 0 14px 22px -8px rgba(108,92,231,.28), inset 0 0 0 2px var(--pixi-mid); }
.btn-ghost:active { box-shadow: 0 2px 0 var(--pixi-mid), inset 0 0 0 2px var(--pixi-mid); }
.btn-sm { padding: 10px 22px; font-size: 1rem; }
.btn-wa.btn-sm { box-shadow: 0 4px 0 var(--wa-deep), 0 10px 16px -6px rgba(34,184,97,.45), inset 0 2px 0 rgba(255,255,255,.35); }
.btn-ghost.btn-sm { box-shadow: 0 4px 0 var(--pixi-mid), 0 10px 16px -8px rgba(108,92,231,.3), inset 0 0 0 2px var(--pixi-mid); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border-bottom: 2px solid var(--bg-lav-2); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 46px; height: 46px; flex: none; filter: drop-shadow(0 6px 8px rgba(108,92,231,.3)); }
.brand-text { font-family: var(--font-head); font-weight: 700; font-size: 1.28rem; line-height: 1; }
.brand-text small { display: block; margin-top: 3px; font-family: var(--font-body); font-weight: 800; font-size: .72rem; color: var(--pixi); letter-spacing: .03em; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) { font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--ink); text-decoration: none; padding: 8px 16px; border-radius: 999px; transition: background .15s ease, color .15s ease; }
.nav-links a:not(.btn):hover { background: var(--pixi-soft); color: var(--pixi-deep); }
.nav-links a[aria-current="page"]:not(.btn) { background: var(--pixi); color: #fff; box-shadow: 0 4px 0 var(--pixi-deep); }
.nav-links .btn { margin-left: 8px; }

.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 16px; border: 0; background: var(--pixi-soft); box-shadow: 0 4px 0 var(--pixi-mid); cursor: pointer; align-items: center; justify-content: center; padding: 0; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 3px; background: var(--pixi-deep); border-radius: 2px; position: relative; content: ""; transition: transform .2s ease, top .2s ease, background .2s ease; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero: Pixi 3D ---------- */
.hero { position: relative; overflow: hidden; padding: 40px 0 84px; background: radial-gradient(1200px 520px at 85% -10%, var(--bg-lav-2), transparent 62%), #fff; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: 24px; align-items: center; }
.hero-kicker { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--pixi-deep); background: var(--pixi-soft); padding: 5px 16px; border-radius: 999px; box-shadow: 0 -3px 0 rgba(108,92,231,.1) inset; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.5rem); margin-top: 18px; max-width: 14ch; }
.hero-lead { margin-top: 22px; font-size: 1.2rem; color: var(--ink-soft); max-width: 50ch; }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 18px; }
.hero-facts { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--ink-soft); font-weight: 700; font-size: .98rem; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 20px; height: 20px; color: var(--pixi); }

.stage { position: relative; width: 100%; max-width: 600px; margin-inline: auto; aspect-ratio: 1 / 1.04; touch-action: pan-y; }
.stage-glow { position: absolute; inset: 6% 4% 8%; border-radius: 50%; background: radial-gradient(closest-side, #fff 0%, var(--bg-lav-2) 55%, rgba(238,234,255,0) 100%); }
.stage-floor { position: absolute; left: 14%; right: 14%; bottom: 7%; height: 15%; border-radius: 50%; background: radial-gradient(closest-side, rgba(108,92,231,.2), rgba(108,92,231,0)); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.stage canvas:active { cursor: grabbing; }
.stage .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .5s ease; pointer-events: none; }
.stage.live .poster { opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s .5s; }

/* Bola clay dekoratif: diam, hanya memberi kedalaman */
.orb { position: absolute; border-radius: 50%; pointer-events: none; box-shadow: inset -8px -10px 18px rgba(0,0,0,.14), inset 6px 8px 14px rgba(255,255,255,.55), 0 18px 28px -10px rgba(108,92,231,.4); }
.orb.o1 { width: 74px; height: 74px; left: 4%; top: 14%; background: radial-gradient(circle at 32% 28%, #ffe48a, var(--star) 55%, var(--star-deep)); }
.orb.o2 { width: 46px; height: 46px; right: 6%; top: 8%; background: radial-gradient(circle at 32% 28%, #ffc1d4, var(--blush) 60%, #e0517f); }
.orb.o3 { width: 56px; height: 56px; right: 3%; bottom: 24%; background: radial-gradient(circle at 32% 28%, #9d92ff, var(--pixi) 60%, var(--pixi-deep)); }
.orb.o4 { width: 30px; height: 30px; left: 9%; bottom: 20%; background: radial-gradient(circle at 32% 28%, #9d92ff, var(--pixi) 60%, var(--pixi-deep)); }

.pixi-bubble {
  position: absolute; left: 2%; top: 3%; z-index: 3; max-width: 62%;
  background: #fff; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; line-height: 1.25;
  padding: 12px 18px; border-radius: 22px 22px 22px 6px; box-shadow: var(--clay), 0 0 0 2px var(--pixi-mid);
  transition: transform .25s cubic-bezier(.3,1.6,.5,1), opacity .2s ease;
}
.pixi-bubble.pop { transform: scale(1.06) rotate(-1.5deg); }
.stage-actions { position: absolute; left: 0; right: 0; bottom: -4px; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.stage-hint { color: var(--ink-soft); font-weight: 700; font-size: .92rem; }

/* ---------- Grid & kartu ---------- */
.grid { display: grid; gap: 26px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border-radius: var(--r-lg); padding: 30px; box-shadow: var(--clay), 0 0 0 2px var(--bg-lav-2); }
.card.hover { transition: transform .2s ease, box-shadow .2s ease; }
.card.hover:hover { transform: translateY(-6px); box-shadow: var(--clay-lg), 0 0 0 2px var(--pixi-mid); }

.icon-badge { width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 20px; box-shadow: inset 0 3px 0 rgba(255,255,255,.7), inset 0 -5px 0 rgba(0,0,0,.08), 0 10px 16px -8px rgba(46,37,153,.4); }
.icon-badge svg { width: 29px; height: 29px; }
.ib-blue { background: linear-gradient(180deg, #d9d3ff, #bdb3ff); color: var(--pixi-deep); }
.ib-lilac { background: linear-gradient(180deg, #7a6df5, var(--pixi)); color: #fff; }
.ib-sun { background: linear-gradient(180deg, #ffe58f, var(--star)); color: #7a4f00; }
.ib-mint { background: linear-gradient(180deg, #e7e2ff, #cfc8ff); color: var(--pixi-deep); }
.ib-coral { background: linear-gradient(180deg, #ffc9d9, var(--blush)); color: #8a1f46; }

.card h3 { font-size: 1.5rem; }
.card p { margin-top: 10px; color: var(--ink-soft); }

/* ---------- Pertemuan ---------- */
.step .num { font-family: var(--font-head); font-weight: 700; font-size: .98rem; background: var(--pixi); color: #fff; display: inline-block; padding: 3px 14px; border-radius: 999px; box-shadow: 0 3px 0 var(--pixi-deep); }
.step .date { margin-top: 16px; font-family: var(--font-head); font-size: 3.1rem; line-height: 1; font-weight: 800; color: var(--pixi); }
.step .date small { font-size: 1rem; color: var(--ink-soft); font-weight: 600; margin-left: 6px; }
.step h3 { margin-top: 14px; font-size: 1.35rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: #fff; border-radius: var(--r-md); padding: 22px 16px; text-align: center; box-shadow: var(--clay), 0 0 0 2px var(--bg-lav-2); }
.stat b { display: block; font-family: var(--font-head); font-size: 2.7rem; font-weight: 800; line-height: 1.05; color: var(--pixi); }
.stat span { color: var(--ink-soft); font-weight: 700; font-size: .95rem; }

/* ---------- Kelas ---------- */
.class-card { display: flex; flex-direction: column; position: relative; padding: 36px; transform-style: preserve-3d; }
.class-card .tag { position: absolute; top: -15px; right: 26px; font-family: var(--font-head); font-weight: 600; background: var(--star); color: #5c3b00; padding: 5px 18px; border-radius: 999px; font-size: .98rem; box-shadow: 0 4px 0 var(--star-deep), 0 10px 16px -6px rgba(224,164,0,.5); }
.class-card h3 { font-size: 2.1rem; }
.class-card .sub { color: var(--ink-soft); margin-top: 8px; }
.price-box { margin: 22px 0; padding: 22px; border-radius: var(--r-md); background: var(--bg-lav); box-shadow: inset 0 3px 0 rgba(255,255,255,.9), inset 0 -4px 0 rgba(108,92,231,.07); }
.price-box .was { color: var(--ink-soft); text-decoration: line-through; text-decoration-color: var(--blush); text-decoration-thickness: 3px; font-weight: 700; }
.price-box .now { font-family: var(--font-head); font-size: 2.8rem; font-weight: 800; color: var(--pixi); line-height: 1.1; }
.price-box .per { color: var(--ink-soft); font-weight: 700; font-size: .95rem; }
.price-box .note { margin-top: 8px; font-size: .92rem; color: #b0305a; font-weight: 700; }
.price-box.ask .now { font-size: 1.8rem; color: var(--ink); }

.check-list { display: grid; gap: 12px; margin: 6px 0 28px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { width: 24px; height: 24px; flex: none; color: #fff; background: var(--pixi); border-radius: 50%; padding: 4px; margin-top: 2px; box-shadow: 0 2px 0 var(--pixi-deep); }
.class-card .btn { margin-top: auto; }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--clay), 0 0 0 2px var(--bg-lav-2); }
.compare th, .compare td { padding: 16px 22px; text-align: left; border-bottom: 2px solid var(--bg-lav); vertical-align: top; }
.compare thead th { background: var(--pixi); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; }
.compare tbody th { font-family: var(--font-head); font-weight: 600; width: 26%; background: var(--bg-lav); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }

.callout { display: flex; gap: 16px; align-items: flex-start; padding: 22px 26px; border-radius: var(--r-md); background: var(--star-soft); box-shadow: inset 0 3px 0 rgba(255,255,255,.8), inset 0 -5px 0 rgba(224,164,0,.18); }
.callout svg { width: 28px; height: 28px; flex: none; color: #9a6200; margin-top: 2px; }
.callout b { font-family: var(--font-head); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; max-width: 820px; margin-inline: auto; }
.faq details { background: #fff; border-radius: var(--r-md); padding: 4px 24px; box-shadow: var(--clay), 0 0 0 2px var(--bg-lav-2); }
.faq details[open] { box-shadow: var(--clay), 0 0 0 2px var(--pixi); }
.faq summary { cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; padding: 16px 0; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--pixi-soft); color: var(--pixi); font-size: 1.6rem; line-height: 1; flex: none; transition: transform .2s ease, background .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--pixi); color: #fff; }
.faq details p { padding: 0 0 18px; color: var(--ink-soft); max-width: 62ch; }

/* ---------- CTA ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 40px; padding: 60px 32px; text-align: center; color: #fff; background: radial-gradient(600px 300px at 20% 0%, #7a6df5, transparent 70%), linear-gradient(160deg, var(--pixi), var(--pixi-deep)); box-shadow: 0 10px 0 #2c2380, 0 34px 54px -20px rgba(46,37,153,.6), inset 0 3px 0 rgba(255,255,255,.25); }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; }
.cta-band::before { width: 240px; height: 240px; right: -60px; top: -80px; background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.28), rgba(255,255,255,.06) 70%); }
.cta-band::after { width: 150px; height: 150px; left: -40px; bottom: -50px; background: radial-gradient(circle at 32% 28%, rgba(255,226,130,.55), rgba(255,200,61,.12) 70%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 3.8vw, 2.9rem); }
.cta-band p { margin: 14px auto 0; max-width: 54ch; color: rgba(255,255,255,.92); font-size: 1.12rem; }
.cta-band .btn { margin-top: 30px; }

/* ---------- Karya ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.filter { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; cursor: pointer; padding: 9px 22px; border-radius: 999px; border: 0; background: #fff; color: var(--pixi-deep); box-shadow: 0 4px 0 var(--pixi-mid), inset 0 0 0 2px var(--pixi-mid); transition: transform .15s ease; }
.filter:hover { transform: translateY(-2px); }
.filter:active { transform: translateY(3px); }
.filter[aria-pressed="true"] { background: var(--pixi); color: #fff; box-shadow: 0 4px 0 var(--pixi-deep); }

.work { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--clay), 0 0 0 2px var(--bg-lav-2); transition: box-shadow .2s ease; will-change: transform; }
.work:hover { box-shadow: var(--clay-lg), 0 0 0 2px var(--pixi-mid); }
.work .thumb { aspect-ratio: 16 / 10; background: var(--bg-lav); overflow: hidden; }
.work .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.work:hover .thumb img { transform: scale(1.05); }
.work .body { padding: 20px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.work .cat { align-self: flex-start; font-weight: 800; font-size: .84rem; padding: 3px 13px; border-radius: 999px; }
.work h3 { font-size: 1.45rem; }
.work p { color: var(--ink-soft); font-size: 1rem; }
.work .play { margin-top: auto; padding-top: 8px; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--pixi); display: inline-flex; align-items: center; gap: 8px; }
.work .play svg { width: 18px; height: 18px; transition: transform .2s ease; }
.work:hover .play svg { transform: translateX(4px); }
.cat-petualangan { background: var(--pixi-soft); color: var(--pixi-deep); }
.cat-arcade { background: var(--blush-soft); color: #b0305a; }
.cat-edukasi { background: var(--star-soft); color: #7a4f00; }
.cat-luar-angkasa { background: #dfe6ff; color: #2a3d99; }
.work[hidden] { display: none; }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; padding: 0; overflow: hidden; }
.post-card .cover { height: 176px; display: grid; place-items: center; }
.post-card .cover svg { width: 76px; height: 76px; color: rgba(255,255,255,.96); filter: drop-shadow(0 8px 8px rgba(0,0,0,.18)); }
.post-card .body { padding: 24px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--ink-soft); font-size: .92rem; font-weight: 700; }
.post-card h3 { margin-top: 10px; font-size: 1.45rem; }
.post-card .more { margin-top: auto; padding-top: 16px; font-family: var(--font-head); font-weight: 600; color: var(--pixi); }
.cv-blue { background: linear-gradient(135deg, #8d82ff, var(--pixi)); }
.cv-sun { background: linear-gradient(135deg, #ffd54f, #ff9f43); }
.cv-mint { background: linear-gradient(135deg, #b79cff, #ff7fa6); }

.article { max-width: 720px; margin-inline: auto; }
.article h1 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); margin: 16px 0 14px; }
.article .lead { font-size: 1.28rem; color: var(--ink-soft); }
.article h2 { font-size: 1.75rem; margin: 42px 0 12px; }
.article p { margin-top: 16px; }
.article ul.bullets { margin: 16px 0 0; display: grid; gap: 10px; }
.article ul.bullets li { padding-left: 30px; position: relative; }
.article ul.bullets li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #ffe48a, var(--star) 60%, var(--star-deep)); }
.back { display: inline-flex; gap: 6px; align-items: center; font-weight: 800; text-decoration: none; color: var(--ink-soft); margin-bottom: 18px; }
.back:hover { color: var(--pixi); }

/* ---------- Mentor ---------- */
.mentor { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.mentor-photo { position: relative; }
.mentor-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 40px; background: linear-gradient(160deg, var(--pixi-light), var(--pixi-deep)); }
.mentor-photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 40px; border: 6px solid #fff; box-shadow: 0 20px 34px -14px rgba(46,37,153,.5); }

/* ---------- Kontak ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 34px; align-items: start; }
.contact-list { display: grid; gap: 16px; }
.contact-item { display: flex; gap: 16px; align-items: center; padding: 18px 22px; background: #fff; border-radius: var(--r-md); text-decoration: none; color: inherit; box-shadow: var(--clay), 0 0 0 2px var(--bg-lav-2); transition: transform .15s ease, box-shadow .15s ease; }
a.contact-item:hover { transform: translateY(-3px); box-shadow: var(--clay-lg), 0 0 0 2px var(--pixi-mid); }
.contact-item .icon-badge { margin: 0; width: 52px; height: 52px; border-radius: 16px; flex: none; }
.contact-item small { display: block; color: var(--ink-soft); font-weight: 700; font-size: .86rem; }
.contact-item b { font-family: var(--font-head); font-weight: 600; font-size: 1.14rem; word-break: break-word; }

form.wa-form { display: grid; gap: 16px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--bg-lav); border: 0; border-radius: 16px; padding: 13px 18px; box-shadow: inset 0 3px 6px rgba(108,92,231,.12), inset 0 0 0 2px var(--bg-lav-2); transition: box-shadow .15s ease, background .15s ease; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 3px var(--pixi), 0 0 0 5px var(--pixi-soft); }
.field textarea { min-height: 110px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .92rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(180deg, var(--pixi-deep), #2a2270); color: #d9d4ff; padding: 70px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-text small { color: #b9b0ff; }
.site-footer h4 { color: #fff; font-size: 1.2rem; margin-bottom: 14px; }
.site-footer p { color: #c4bdff; margin-top: 16px; max-width: 36ch; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { color: #e3dfff; text-decoration: none; }
.site-footer a:hover { color: var(--star); text-decoration: underline; }
.footer-bottom { margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: .92rem; color: #b9b0ff; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- WhatsApp melayang ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; padding: 13px 22px 13px 17px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; background: linear-gradient(180deg, var(--wa-light), var(--wa)); box-shadow: 0 5px 0 var(--wa-deep), 0 16px 26px -6px rgba(34,184,97,.55), inset 0 2px 0 rgba(255,255,255,.35); transition: transform .15s ease; }
.wa-float:hover { transform: translateY(-3px); }
.wa-float:active { transform: translateY(3px); }
.wa-float svg { width: 24px; height: 24px; }

/* ---------- Kepala halaman dalam ---------- */
.page-head { position: relative; overflow: hidden; padding: 56px 0 52px; background: radial-gradient(800px 360px at 90% 0%, var(--bg-lav-2), transparent 65%), #fff; border-bottom: 2px solid var(--bg-lav-2); }
.page-head .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); max-width: 18ch; }
.page-head .eyebrow + h1 { margin-top: 16px; }
.page-head p { margin-top: 14px; max-width: 56ch; font-size: 1.15rem; color: var(--ink-soft); }
.page-head .peek { width: 190px; filter: drop-shadow(0 18px 18px rgba(108,92,231,.3)); }

/* Tanpa animasi muncul per bagian: gerak dipakai hanya untuk Pixi dan respons sentuhan */
.reveal { opacity: 1; transform: none; }


/* ---------- Adegan scroll: Pixi memandu 4 pertemuan ---------- */
.story { position: relative; color: #fff; background: radial-gradient(900px 600px at 80% 20%, #6b5ef5 0%, transparent 60%), radial-gradient(700px 500px at 0% 100%, #3b2fc0 0%, transparent 60%), linear-gradient(170deg, #3f33a8, #2a2270 70%); }
.story-sticky { padding: 84px 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.story-copy h2 { color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.4rem); max-width: 14ch; }
.story-sub { margin-top: 16px; color: #d9d4ff; font-size: 1.12rem; max-width: 44ch; }
.story-steps { margin-top: 30px; display: grid; gap: 14px; }
.story-step { padding: 20px 22px; border-radius: var(--r-md); background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.18); }
.story-step .num { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .98rem; color: #5c3b00; background: var(--star); padding: 2px 14px; border-radius: 999px; box-shadow: 0 3px 0 var(--star-deep); }
.story-step .when { margin-left: 12px; color: #c4bdff; font-weight: 700; font-size: .95rem; }
.story-step h3 { margin-top: 12px; color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.story-step p { margin-top: 8px; color: #e3dfff; font-size: 1.1rem; max-width: 46ch; }
.story-dots { display: none; margin-top: 18px; gap: 0; }
.story-dots button { position: relative; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.story-dots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; border-radius: 999px; background: rgba(255,255,255,.38); transform: translate(-50%, -50%); transition: width .3s ease, background .3s ease; }
.story-dots button[aria-current="true"]::before { width: 36px; background: var(--star); }

.story-stage { position: relative; width: min(100%, 560px); margin-inline: auto; aspect-ratio: 1 / 1.04; }
.story-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-stage .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .5s ease; pointer-events: none; }
.story-stage.live .poster { opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s .5s; }
.story-ring { position: absolute; inset: 4% 2%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.3), rgba(157,140,255,.16) 58%, transparent 74%); }
.story-ring::after { content: ""; position: absolute; inset: 6%; border-radius: 50%; border: 2px dashed rgba(255,255,255,.35); transform: rotate(calc(var(--p, 0) * 540deg)); }

.chip { position: absolute; z-index: 2; color: #fff; background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.38); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 20px; padding: 12px 16px; opacity: 0; transform: translateY(26px) scale(.9) rotate(var(--rot, 0deg)); transition: opacity .45s ease, transform .6s cubic-bezier(.2,1.3,.4,1); pointer-events: none; box-shadow: 0 22px 40px -16px rgba(10,5,60,.65); }
.story[data-step="0"] [data-for="0"], .story[data-step="1"] [data-for="1"], .story[data-step="2"] [data-for="2"], .story[data-step="3"] [data-for="3"] { opacity: 1; transform: rotate(var(--rot, 0deg)); }
.chip b { display: block; font-family: var(--font-head); font-size: .95rem; color: var(--star); }
.chip-prompt { left: -4%; top: 10%; max-width: 230px; font-weight: 700; --rot: -3deg; }
.chip-prompt span { display: block; margin-top: 2px; font-size: 1rem; line-height: 1.35; }
.chip-game { width: 168px; padding: 8px 8px 10px; margin: 0; }
.chip-game img { width: 100%; border-radius: 12px; aspect-ratio: 16 / 10; object-fit: cover; }
.chip-game figcaption { margin-top: 6px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.chip-game.a { left: -6%; top: 8%; --rot: -6deg; }
.chip-game.b { right: -4%; bottom: 20%; --rot: 5deg; }
.chip-web { right: -6%; top: 16%; width: 200px; --rot: 4deg; }
.chip-web .dots { display: flex; gap: 5px; margin-bottom: 8px; }
.chip-web .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.55); }
.chip-web .hd { height: 34px; border-radius: 10px; background: linear-gradient(90deg, var(--star), #ffe48a); opacity: .9; }
.chip-web .row { display: flex; gap: 8px; margin-top: 8px; }
.chip-web .row span { flex: 1; height: 38px; border-radius: 10px; background: rgba(255,255,255,.28); }
.chip-web .ln { height: 8px; margin-top: 10px; border-radius: 6px; background: rgba(255,255,255,.4); }
.chip-web .ln.s { width: 60%; }
.chip-cert { left: -2%; top: 5%; width: 190px; text-align: center; --rot: -3deg; }
.chip-cert b { font-size: 1.15rem; }
.chip-cert span { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; }
.conf { position: absolute; z-index: 1; top: -2%; width: 12px; height: 12px; border-radius: 3px; opacity: 0; pointer-events: none; }
.conf.c0 { background: var(--star); } .conf.c1 { background: var(--blush); } .conf.c2 { background: #fff; border-radius: 50%; }
.story[data-step="3"] .conf { animation: confetti 2.6s linear infinite; }
@keyframes confetti { 0% { transform: translateY(0) rotate(0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translateY(520px) rotate(540deg); opacity: 0; } }

/* Tanpa JS atau gerak minimal: urutan tampil biasa, tanpa panggung lengket */
.story:not(.is-live) .chip, .story:not(.is-live) .conf { display: none; }
.story:not(.is-live) .story-stage { max-width: 420px; }
.story.is-live .story-track { height: 440vh; }
.story.is-live .story-sticky { position: sticky; top: 0; height: 100vh; padding: 96px 0 24px; display: flex; align-items: center; overflow: hidden; }
.story.is-live .story-sticky::after { content: ""; position: absolute; left: 0; bottom: 0; height: 5px; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, var(--star), var(--blush)); }
.story.is-live .story-grid { width: min(1160px, 100% - 40px); margin-inline: auto; }
.story.is-live .story-dots { display: flex; }
.story.is-live .story-steps { position: relative; min-height: 250px; margin-top: 26px; }
.story.is-live .story-step { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(18px); transition: opacity .4s ease, transform .5s ease; pointer-events: none; }
.story.is-live .story-step.on { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); gap: 20px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 28px; background: #fff; box-shadow: var(--clay), 0 0 0 2px var(--bg-lav-2); }
.tile h3 { font-size: 1.5rem; }
.tile p { margin-top: 8px; color: var(--ink-soft); }
.tile .icon-badge { flex: none; margin-bottom: 16px; }
.t-big { grid-column: span 2; grid-row: span 2; color: #fff; background: linear-gradient(160deg, var(--pixi-light), var(--pixi-deep)); box-shadow: 0 8px 0 #2c2380, 0 30px 46px -18px rgba(46,37,153,.6), inset 0 3px 0 rgba(255,255,255,.25); }
.t-big h3 { color: #fff; font-size: clamp(1.9rem, 3vw, 2.6rem); }
.t-big p { color: #e3dfff; max-width: 26ch; font-size: 1.1rem; }
.t-big .tile-pixi { position: absolute; right: -6px; bottom: -10px; width: min(62%, 320px); filter: drop-shadow(0 18px 18px rgba(10,5,60,.4)); }
.t-num { background: var(--bg-lav); }
.t-num b { display: block; font-family: var(--font-head); font-size: 5.4rem; line-height: .9; font-weight: 800; color: var(--pixi); }
.t-num h3 { margin-top: 6px; }
.t-star { background: var(--star-soft); }
.t-blush { background: var(--blush-soft); }
.t-wide { grid-column: span 2; display: flex; gap: 18px; align-items: flex-start; }
.t-wide .icon-badge { margin-bottom: 0; }

/* ---------- Carousel karya ---------- */
.marquee-section { padding-bottom: 72px; overflow: hidden; }
.marquee-wrap { display: grid; gap: 18px; margin-top: 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee { overflow: hidden; padding: 10px 0 18px; }
.m-track { display: flex; width: max-content; animation: marq var(--dur, 55s) linear infinite; }
.marquee[data-dir="r"] .m-track { animation-direction: reverse; }
.m-group { display: flex; gap: 18px; padding-right: 18px; }
.m-card { position: relative; flex: none; width: 270px; border-radius: 24px; overflow: hidden; text-decoration: none; color: #fff; box-shadow: var(--clay), 0 0 0 2px var(--bg-lav-2); transition: transform .2s ease; }
.m-card:hover, .m-card:focus-visible { transform: translateY(-5px); }
.m-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.m-card span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; background: linear-gradient(transparent, rgba(28,22,84,.88)); }
.marquee-wrap:hover .m-track, .marquee-wrap:focus-within .m-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }

@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t-big { grid-row: span 1; min-height: 340px; }
  .story-grid { grid-template-columns: 1fr; }
  .story.is-live .story-sticky { padding-top: 84px; align-items: flex-start; }
  .story.is-live .story-grid { gap: 0; }
  .story-stage { order: -1; width: min(100%, 360px); max-height: 38vh; aspect-ratio: auto; height: 38vh; }
  .story.is-live .story-steps { min-height: 215px; margin-top: 8px; }
  .story-copy h2 { font-size: clamp(1.7rem, 6vw, 2.2rem); max-width: none; }
  .story.is-live .story-sub { display: none; }
  .chip-prompt, .chip-game.a { left: 0; }
  .chip-web, .chip-game.b { right: 0; }
  .chip-game { width: 118px; }
  .chip-web { width: 140px; }
  .chip-cert { width: 150px; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .t-big, .t-wide { grid-column: auto; }
  .t-wide { flex-direction: column; gap: 14px; }
  .m-card { width: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .m-track { animation: none; }
  .marquee { overflow-x: auto; }
  .m-group[aria-hidden="true"] { display: none; }
}

/* ---------- Responsif ---------- */
@media (max-width: 960px) {
  .hero-grid, .mentor, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 24px; }
  .hero h1 { max-width: 16ch; }
  .stage { max-width: 400px; order: -1; margin-bottom: 44px; }
  .grid.c4, .stats { grid-template-columns: repeat(2, 1fr); }
  .grid.c3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .mentor-photo { max-width: 300px; }
  .page-head .peek { width: 130px; }
}
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 4px; background: #fff; border-bottom: 2px solid var(--bg-lav-2); padding: 14px 20px 20px; display: none; box-shadow: 0 22px 30px -10px rgba(108,92,231,.2); }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 18px; font-size: 1.15rem; }
  .nav-links .btn { margin: 8px 0 0; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .section { padding: 62px 0; }
  .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .card, .class-card { padding: 24px; }
  .cta-band { padding: 46px 22px; border-radius: 32px; }
  .pixi-bubble { font-size: 1rem; padding: 10px 14px; }
  .orb.o1 { width: 52px; height: 52px; }
  .page-head .wrap { grid-template-columns: 1fr; }
  .page-head .peek { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare thead { display: none; }
  .compare tbody th { width: 100%; }
  .compare td[data-label]::before { content: attr(data-label) ": "; font-family: var(--font-head); font-weight: 600; color: var(--pixi); }
  .wa-float span { display: none; }
  .wa-float { padding: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .work { transform: none !important; }
}
