/* Stailo Event — laman web */
:root {
  --bg: #0A0A0B;
  --bg-2: #111113;
  --card: #161618;
  --line: #2A2823;
  --text: #FAF7F0;
  --muted: #B8B1A3;
  --gold: #F5C542;
  --gold-2: #C9971C;
  --orange: #FF8A2A;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --pad: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.08; letter-spacing: -.01em; }
h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; text-wrap: balance; }
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0; }
em { font-style: normal; background: linear-gradient(120deg, #FFE38A, var(--gold) 45%, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }
.eyebrow { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 680px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* Butang */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 16px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, #FFE38A 0%, var(--gold) 45%, var(--gold-2) 100%); color: #1A1300; box-shadow: 0 10px 30px rgba(245, 197, 66, .28); }
.btn-gold:hover { box-shadow: 0 16px 40px rgba(245, 197, 66, .4); }
.btn-gold svg { transition: transform .3s var(--ease); }
.btn-gold:hover svg { transform: translateX(4px); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .25); color: var(--text); background: rgba(255, 255, 255, .04); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }

/* ===== NAV ===== */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(10, 10, 11, .82); backdrop-filter: blur(14px); border-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: 20px; }
.brand img { border-radius: 11px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 15px; }
.nav-links a:not(.btn) { color: #D9D3C6; position: relative; padding: 6px 0; }
.nav-links a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:not(.btn):hover { color: #fff; }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.05); color: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.nav-toggle span { width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-links { position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 24px; background: rgba(10,10,11,.97); border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-app { margin-top: 18px; height: 50px; }
}

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-bg, .hero-shade { position: absolute; inset: 0; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 1.6s ease, transform 9s linear; }
.hero-bg img.on { opacity: 1; transform: scale(1); }
.hero-shade { background: linear-gradient(90deg, rgba(10,10,11,.95) 0%, rgba(10,10,11,.72) 45%, rgba(10,10,11,.25) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 35%); }
.hero-in { position: relative; padding-top: 110px; padding-bottom: 90px; }
.hero-title { font-size: clamp(44px, 8.4vw, 104px); font-weight: 800; letter-spacing: -.025em; line-height: 1; margin-bottom: 26px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .15s; }
@keyframes rise { to { transform: none; } }
.hero-sub { font-size: clamp(17px, 1.7vw, 21px); color: #E3DDD0; max-width: 600px; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { list-style: none; padding: 0; margin: 56px 0 0; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats li { background: rgba(20, 20, 22, .6); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); border-radius: 18px; padding: 14px 20px; display: flex; flex-direction: column; min-width: 150px; }
.hero-stats b { font-family: var(--display); font-size: 30px; font-weight: 800; color: var(--gold); line-height: 1.1; }
.hero-stats span { font-size: 13px; color: var(--muted); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ===== MARQUEE ===== */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 20px 0; }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: slide 38s linear infinite; font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2.2vw, 26px); white-space: nowrap; align-items: center; }
.marquee-track i { color: var(--gold); font-style: normal; font-size: .8em; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ===== SEKSYEN ===== */
.sec { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.sec-alt { background: var(--bg-2); }
.sec-head { margin-bottom: clamp(40px, 6vw, 64px); display: flex; flex-direction: column; gap: 18px; }
.sec-head h2 { max-width: 880px; }
.split { display: grid; gap: clamp(36px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split-text { display: flex; flex-direction: column; gap: 20px; }
.split-text > p:not(.eyebrow):not(.lead) { color: var(--muted); }
.split-media { margin: 0; position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.4; }
.split-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease); }
.split-media.in img { transform: scale(1); }
.split-media figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(10,10,11,.7); backdrop-filter: blur(8px); padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { border: 1px solid rgba(245,197,66,.4); color: #FFE7A3; background: rgba(245,197,66,.08); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; }

/* Kad */
.cards { display: grid; gap: 18px; }
@media (min-width: 640px) { .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; transition: transform .4s var(--ease), border-color .4s; }
.card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(245,197,66,.13), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.card:hover { transform: translateY(-6px); border-color: rgba(245,197,66,.45); }
.card:hover::before { opacity: 1; }
.card p { color: var(--muted); font-size: 15.5px; }
.card-num { font-family: var(--display); font-size: 54px; font-weight: 800; line-height: 1; color: var(--gold); }
.card-ico { width: 54px; height: 54px; border-radius: 16px; background: rgba(245,197,66,.1); display: flex; align-items: center; justify-content: center; }
.card-ico svg { width: 28px; height: 28px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.formula { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 18px; font-family: var(--display); font-weight: 800; font-size: clamp(22px, 3.4vw, 38px); }
.formula span { padding: 10px 24px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); }
.formula span:last-child { background: linear-gradient(135deg, #FFE38A, var(--gold) 45%, var(--gold-2)); color: #1A1300; border: 0; }
.formula i { font-style: normal; color: var(--gold); }

/* Galeri */
.gallery-sec { padding-bottom: clamp(60px, 8vw, 100px); overflow: hidden; }
.gal-row { overflow: hidden; margin-bottom: 18px; }
.gal-track { display: flex; gap: 18px; width: max-content; animation: slide 60s linear infinite; }
.gal-row.rev .gal-track { animation-direction: reverse; animation-duration: 70s; }
.gal-row:hover .gal-track { animation-play-state: paused; }
.gal-track img { height: clamp(200px, 26vw, 320px); width: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; filter: saturate(.92); transition: filter .4s, transform .4s var(--ease); }
.gal-track img:hover { filter: saturate(1.15); transform: scale(1.03); }

/* Pelan */
.plans { display: grid; gap: 20px; }
@media (min-width: 800px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .4s var(--ease); }
.plan:hover { transform: translateY(-6px); }
.plan img { width: 100%; aspect-ratio: 1.42; object-fit: cover; background: #fff; }
.plan figcaption { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 20px; }
.plan figcaption b { font-family: var(--display); font-size: 18px; }
.plan figcaption span { color: var(--gold); font-weight: 700; font-size: 14px; }

/* Garis masa */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; position: relative; }
.timeline::before { content: ''; position: absolute; background: linear-gradient(90deg, var(--gold), var(--orange)); transform-origin: left; transition: transform 1.6s var(--ease); }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(5, 1fr); }
  .timeline::before { left: 28px; right: 28px; top: 27px; height: 2px; transform: scaleX(var(--tl, 0)); }
}
@media (max-width: 899px) {
  .timeline { padding-left: 74px; }
  .timeline::before { left: 27px; top: 10px; bottom: 10px; width: 2px; transform-origin: top; transform: scaleY(var(--tl, 0)); }
  .timeline li { position: relative; }
  .timeline .tl-dot { position: absolute; left: -74px; top: 0; }
}
.timeline li { display: flex; flex-direction: column; gap: 10px; }
.tl-dot { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 22px; background: var(--bg); border: 2px solid var(--gold); color: var(--gold); position: relative; z-index: 1; margin-bottom: 8px; }
.timeline p { color: var(--muted); font-size: 15.5px; }

/* Kerjasama */
.roles { display: grid; gap: 18px; }
@media (min-width: 900px) { .roles { grid-template-columns: 1fr 1.15fr 1fr; align-items: stretch; } }
.role { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 30px 28px; display: flex; flex-direction: column; gap: 14px; }
.role-main { background: linear-gradient(160deg, #2E2510 0%, #161618 70%); border-color: rgba(245,197,66,.45); box-shadow: 0 20px 60px rgba(245,197,66,.08); }
.role-tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); background: rgba(245,197,66,.1); padding: 6px 12px; border-radius: 999px; }
.role ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.role li { display: flex; gap: 10px; color: #DDD6C8; font-size: 15.5px; }
.role li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-top: 9px; }
.benefits { margin-top: 28px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
@media (min-width: 800px) { .benefits { grid-template-columns: repeat(3, 1fr); } }
.benefits > div { background: var(--bg-2); padding: 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.benefits b { font-family: var(--display); font-size: 18px; color: var(--gold); }
.benefits span { color: var(--muted); font-size: 15px; }

/* Apps: telefon melekit + langkah */
.story { display: grid; gap: 40px; }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1fr; gap: 80px; } }
.story-phone { position: relative; display: flex; justify-content: center; }
@media (min-width: 900px) { .story-phone { position: sticky; top: 110px; height: calc(100vh - 140px); align-items: center; order: 2; } }
.phone { position: relative; width: min(300px, 72vw); aspect-ratio: 9 / 19.2; border-radius: 46px; padding: 12px; background: linear-gradient(145deg, #3a3a3e, #121214); box-shadow: 0 0 0 1px #4a4a50, 0 40px 80px rgba(0,0,0,.6); z-index: 1; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 35px; overflow: hidden; background: #000; }
.phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .6s, transform .7s var(--ease); }
.phone-screen img.on { opacity: 1; transform: none; }
.phone-glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(245,197,66,.35), transparent 65%); filter: blur(30px); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.story-steps { display: flex; flex-direction: column; }
@media (min-width: 900px) { .story-steps { padding: 18vh 0; gap: 22vh; } }
@media (max-width: 899px) { .story-steps { gap: 14px; } }
.step { border-left: 3px solid var(--line); padding: 6px 0 6px 26px; display: flex; flex-direction: column; gap: 10px; transition: border-color .4s, opacity .4s; }
@media (min-width: 900px) { .step { opacity: .35; } .step.active { opacity: 1; } }
.step.active { border-color: var(--gold); }
.step-n { font-family: var(--display); font-weight: 800; color: var(--gold); font-size: 15px; letter-spacing: .1em; }
.step h3 { font-size: clamp(22px, 2.4vw, 30px); }
.step p { color: var(--muted); }
.devices { margin-top: clamp(50px, 8vw, 90px); display: grid; gap: 20px; }
@media (min-width: 800px) { .devices { grid-template-columns: 1fr 1fr; } }
.devices img { width: 100%; border-radius: 20px; border: 1px solid var(--line); aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transform: translateY(40px); opacity: 0; transition: transform 1s var(--ease), opacity 1s; }
.devices.in img { transform: none; opacity: 1; }
.devices.in img:nth-child(2) { transition-delay: .15s; }

/* CTA */
.cta { position: relative; padding: clamp(100px, 14vw, 170px) 0; overflow: hidden; text-align: center; }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 120%; object-fit: cover; opacity: .28; transform: translateY(var(--py, 0)); }
.cta-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(10,10,11,.55), var(--bg) 75%); }
.cta-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta h2 { font-size: clamp(36px, 6.4vw, 76px); max-width: 900px; }
.cta .hero-cta { justify-content: center; margin-top: 10px; }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.contact-list li { background: rgba(22,22,24,.8); border: 1px solid var(--line); border-radius: 16px; padding: 12px 20px; display: flex; flex-direction: column; min-width: 190px; }
.contact-list span { font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.contact-list b { font-size: 16px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 46px 0 40px; }
.foot-in { display: grid; gap: 16px; }
@media (min-width: 800px) { .foot-in { grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; } .foot-copy { grid-column: 1 / -1; } }
.foot p { color: var(--muted); font-size: 14px; }
.foot-links { display: flex; gap: 22px; font-weight: 600; font-size: 14px; }
.foot-links a:hover { color: var(--gold); }
.foot-copy { font-size: 13px !important; }

/* ===== Animasi masuk ===== */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition-delay: var(--d, .35s); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-title .line > span { transform: none; }
  .marquee-track, .gal-track { animation: none; }
  .gal-row { overflow-x: auto; }
}

/* ===== Penambahbaikan telefon ===== */
@media (max-width: 960px) {
  .nav.open-menu { background: #0A0A0B; border-color: var(--line); }
  .nav-links { background: #0A0A0B; min-height: calc(100vh - 76px); }
}
@media (max-width: 600px) {
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 40px; }
  .hero-stats li { min-width: 0; padding: 12px; border-radius: 14px; }
  .hero-stats b { font-size: 22px; }
  .hero-stats span { font-size: 11.5px; line-height: 1.35; }
}
.step-shot { display: none; }
@media (max-width: 899px) {
  .story-phone { display: none; }
  .story-steps { gap: 40px; }
  .step { border-left-color: var(--gold); }
  .step-shot { display: block; width: min(250px, 70vw); margin-top: 8px; border-radius: 28px; border: 8px solid #222226; box-shadow: 0 24px 50px rgba(0,0,0,.5); aspect-ratio: 9 / 18; object-fit: cover; object-position: top; }
}
