/* Bapak Premium — multi-page, Apple-ish vibe, zero external deps */
:root{
  --bg: #ffffff;
  --bg2: #f5f5f7;
  --text: #1d1d1f;
  --muted: rgba(29,29,31,.66);
  --line: rgba(29,29,31,.12);
  --shadow: 0 24px 80px rgba(0,0,0,.12);
  --shadow2: 0 10px 30px rgba(0,0,0,.10);
  --radius: 24px;
  --radius2: 18px;
  --max: 1120px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  color: var(--text);
  background: radial-gradient(1200px 800px at 70% -10%, rgba(0,0,0,.05), transparent 60%),
              radial-gradient(900px 600px at 10% 10%, rgba(0,0,0,.035), transparent 55%),
              var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a{ color: inherit; text-decoration: none; }
.wrap{ width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.skip{
  position:absolute; left:-999px; top:10px;
  background:#000; color:#fff; padding:10px 14px; border-radius:12px;
}
.skip:focus{ left:16px; z-index: 9999; }

code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: .92em;
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.08);
  padding: 2px 6px;
  border-radius: 10px;
}

/* Topbar */
.topbar{
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: saturate(180%) blur(18px);
  background: rgba(255,255,255,.72);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.topbar.is-elevated{ box-shadow: 0 8px 30px rgba(0,0,0,.08); background: rgba(255,255,255,.84); }

.nav{
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  height: 68px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 10px 0;
}
.brand__mark{
  width: 26px;
  height: 26px;
  object-fit: contain;
  transform: translateY(-.5px);
}
.brand__word{
  font-weight: 600;
  letter-spacing: -.02em;
  font-size: 17px;
}

.nav__links{
  display:flex;
  align-items:center;
  gap: 18px;
  font-size: 14px;
  color: rgba(29,29,31,.80);
}
.nav__links a{
  padding: 10px 12px;
  border-radius: 14px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav__links a:hover{ background: rgba(0,0,0,.05); color: var(--text); }
.nav__links a.is-active{
  background: rgba(0,0,0,.08);
  color: var(--text);
}
.pill{
  background: rgba(0,0,0,.08);
  color: var(--text);
}
.pill:hover{ background: rgba(0,0,0,.12)!important; }

.nav__toggle{
  display:none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.55);
  cursor: pointer;
  align-items:center;
  justify-content:center;
  gap: 6px;
}
.nav__toggle span{
  display:block;
  width: 18px;
  height: 2px;
  background: rgba(0,0,0,.70);
  border-radius: 99px;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}

.drawer{
  display:none;
  padding: 10px 24px 18px;
  border-top: 1px solid rgba(0,0,0,.06);
}
.drawer a{
  display:block;
  padding: 12px 10px;
  border-radius: 14px;
  color: rgba(29,29,31,.82);
}
.drawer a:hover{ background: rgba(0,0,0,.05); color: var(--text); }
.drawer a.is-active{ background: rgba(0,0,0,.08); color: var(--text); }
.drawer.is-open{ display:block; }

/* Shared UI */
.kicker{
  display:inline-flex;
  font-size: 13px;
  color: rgba(29,29,31,.70);
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.60);
  backdrop-filter: blur(14px);
  padding: 10px 14px;
  border-radius: 999px;
}
.dot{
  width: 8px; height: 8px; border-radius: 999px;
  background: rgba(0,0,0,.68);
  box-shadow: 0 0 0 4px rgba(0,0,0,.08);
}
.muted{ color: var(--muted); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -.01em;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  transform: translateZ(0);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.btn:hover{ transform: translateY(-1px); box-shadow: 0 14px 34px rgba(0,0,0,.22); }
.btn:active{ transform: translateY(0px); box-shadow: 0 10px 26px rgba(0,0,0,.18); }

.btn--ghost{
  background: rgba(255,255,255,.75);
  color: var(--text);
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: none;
}
.btn--ghost:hover{ background: rgba(255,255,255,.92); box-shadow: none; }

.section{
  padding: 76px 0;
}
.section--alt{
  background: linear-gradient(to bottom, rgba(245,245,247,.65), rgba(245,245,247,.25));
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.section__head h2{
  margin: 0;
  font-size: 32px;
  letter-spacing: -.03em;
}
.section__head p{
  margin: 0;
  color: var(--muted);
  max-width: 54ch;
}

/* Landing hero */
.hero{
  position: relative;
  padding: 96px 0 54px;
  overflow: hidden;
}
.hero__bg{
  position:absolute;
  inset:-40% -10% auto -10%;
  height: 460px;
  background:
    radial-gradient(closest-side at 65% 40%, rgba(0,0,0,.08), transparent 65%),
    radial-gradient(closest-side at 25% 70%, rgba(0,0,0,.06), transparent 60%),
    linear-gradient(to bottom, rgba(245,245,247,.92), rgba(255,255,255,0));
  pointer-events:none;
}
.hero__wrap{ position: relative; }

.hero__badge{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  font-size: 13px;
  color: rgba(29,29,31,.70);
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.60);
  backdrop-filter: blur(14px);
  padding: 10px 14px;
  border-radius: 999px;
}
.hero__title{
  margin: 18px 0 0;
  font-size: clamp(40px, 6.5vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero__sub{
  margin: 14px 0 0;
  width: min(58ch, 100%);
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
}
.hero__cta{
  margin-top: 26px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__stats{
  margin-top: 44px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}
.stat{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius2);
  padding: 18px 18px 16px;
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(14px);
}
.stat__k{
  font-weight: 650;
  letter-spacing: -.02em;
  font-size: 22px;
}
.stat__v{
  margin-top: 4px;
  color: rgba(29,29,31,.66);
  font-size: 13px;
  line-height: 1.35;
}

/* Page hero */
.pagehero{
  padding: 70px 0 26px;
}
.pagehero__title{
  margin: 12px 0 0;
  font-size: clamp(34px, 5.4vw, 60px);
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.pagehero__sub{
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  max-width: 70ch;
}

/* Product hero */
.producthero{
  position: relative;
  padding: 84px 0 30px;
  overflow:hidden;
}
.producthero__bg{
  position:absolute;
  inset:-30% -10% auto -10%;
  height: 520px;
  background:
    radial-gradient(closest-side at 70% 30%, rgba(0,0,0,.07), transparent 62%),
    radial-gradient(closest-side at 20% 55%, rgba(0,0,0,.055), transparent 60%),
    linear-gradient(to bottom, rgba(245,245,247,.92), rgba(255,255,255,0));
  pointer-events:none;
}
.producthero__wrap{ position: relative; }
.producthero__title{
  margin: 14px 0 0;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 1.00;
  letter-spacing: -0.04em;
}
.producthero__tag{
  margin: 10px 0 0;
  font-size: 18px;
  color: rgba(29,29,31,.74);
}
.producthero__sub{
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  max-width: 78ch;
}

/* Cards / grids */
.grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}
.card{
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.75);
  box-shadow: var(--shadow2);
  padding: 22px;
  display:flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease);
}
.card:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 46px rgba(0,0,0,.14);
  background: rgba(255,255,255,.92);
}
.chip{
  display:inline-flex;
  align-items:center;
  width: fit-content;
  font-size: 12px;
  color: rgba(29,29,31,.72);
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.03);
  padding: 7px 10px;
  border-radius: 999px;
}
.card h3{
  margin: 12px 0 8px;
  font-size: 22px;
  letter-spacing: -.02em;
}
.card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.card__meta{
  margin-top: 16px;
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(29,29,31,.62);
  font-size: 12px;
}
.card__meta span{
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.60);
  padding: 6px 10px;
  border-radius: 999px;
}
.card__actions{ margin-top: 18px; }

/* Feature cols */
.cols{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}
.pane{
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.70);
  padding: 22px;
  box-shadow: var(--shadow2);
}
.pane h3{ margin: 0 0 8px; letter-spacing: -.02em; }
.pane p{ margin: 0; color: var(--muted); line-height: 1.55; }

/* Splits */
.split{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
  align-items: center;
}
.split--flip{ grid-template-columns: .95fr 1.05fr; }
.split--flip .split__a{ order: 2; }
.split--flip .split__b{ order: 1; }

.split h2{ margin: 0 0 10px; letter-spacing: -.03em; font-size: 30px; }
.split p{ margin: 0 0 10px; color: var(--muted); line-height: 1.6; font-size: 16px; }

.bullets{
  margin: 14px 0 0;
  padding-left: 18px;
  color: rgba(29,29,31,.70);
}
.bullets li{ margin: 8px 0; line-height: 1.45; }

/* Screenshot block */
.shot{
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.70);
  box-shadow: var(--shadow2);
  overflow:hidden;
}
.shot img{
  width: 100%;
  height: auto;
  display:block;
}

/* Carousel */
.carousel{
  display:grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}
.carousel::-webkit-scrollbar{ height: 10px; }
.carousel::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.10);
  border-radius: 999px;
}
.carousel__item{
  scroll-snap-align: start;
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow2);
  overflow: hidden;
}
.carousel__item img{ width: 100%; height: auto; display:block; }

.hint{
  margin-top: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.70);
  box-shadow: var(--shadow2);
  padding: 18px;
  color: rgba(29,29,31,.78);
}
.hint ol{ margin: 10px 0 0; padding-left: 20px; }
.hint li{ margin: 8px 0; }

/* Glass card */
.glass{
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(18px);
  padding: 18px;
  box-shadow: var(--shadow);
}
.glass__row{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 14px;
}
.glass__row + .glass__row{ border-top: 1px solid rgba(0,0,0,.06); }
.glass__row span{ color: rgba(29,29,31,.66); font-size: 13px; }
.glass__row strong{ font-size: 13px; font-weight: 650; }

/* Contact */
.contact{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}
.contact__card{
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.80);
  padding: 22px;
  box-shadow: var(--shadow2);
}
.contact__card h3{ margin: 0 0 8px; }
.contact__card p{ margin: 0 0 14px; }

.sig{
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.02);
  border-radius: 18px;
  padding: 14px;
}
.sig__name{ font-weight: 700; letter-spacing: -.02em; }
.sig__meta{ color: rgba(29,29,31,.68); font-size: 13px; margin-top: 4px; }

/* CTA banner */
.ctaBanner{
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.08);
  background: radial-gradient(900px 400px at 20% 0%, rgba(0,0,0,.06), transparent 60%),
              rgba(255,255,255,.78);
  box-shadow: var(--shadow2);
  padding: 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}
.ctaBanner__kicker{ color: rgba(29,29,31,.66); font-size: 13px; }
.ctaBanner__title{ font-weight: 750; letter-spacing: -.03em; font-size: 22px; margin-top: 6px; }
.ctaBanner__sub{ color: rgba(29,29,31,.66); margin-top: 6px; }

/* Footer */
.footer{
  border-top: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.78);
}
.footer__wrap{
  padding: 26px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer__brand{
  display:flex;
  align-items:center;
  gap: 12px;
}
.footer__brand img{ width: 22px; height: 22px; object-fit: contain; }
.footer__name{ font-weight: 650; letter-spacing: -.02em; }
.footer__fine{ color: rgba(29,29,31,.60); font-size: 12px; margin-top: 2px; }
.footer__links{
  display:flex;
  gap: 14px;
  color: rgba(29,29,31,.70);
  font-size: 13px;
}
.footer__links a{ padding: 8px 10px; border-radius: 12px; }
.footer__links a:hover{ background: rgba(0,0,0,.05); color: var(--text); }

/* Reveal on scroll */
.reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in{
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 940px){
  .section__head{ flex-direction: column; align-items:flex-start; }
  .grid{ grid-template-columns: 1fr; }
  .cols{ grid-template-columns: 1fr; }
  .contact{ grid-template-columns: 1fr; }
  .split, .split--flip{ grid-template-columns: 1fr; }
  .split--flip .split__a, .split--flip .split__b{ order: initial; }
  .hero__stats{ grid-template-columns: 1fr; }
  .nav__links{ display:none; }
  .nav__toggle{ display:flex; }
  .carousel{ grid-auto-columns: 88%; }
  .ctaBanner{ flex-direction: column; align-items:flex-start; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .reveal{ transition: none; }
  .btn, .card{ transition: none; }
}
