/* Bengkel AI portal — editorial, Baja #232F4B sebagai warna induk.
   Anak brand bebas pakai aksen sendiri: VeCRFT teal, MotionCRFT oranye. */

:root {
  --baja: #232F4B;
  --baja-soft: #354363;
  --paper: #F6F5F1;
  --panel: #FFFFFF;
  --soft: #FBFAF7;
  --ink: #1A1917;
  --muted: #6B6A72;
  --line: #E2DED4;
  --teal: #0E7C6F;
  --teal-soft: #E7F2EF;
  --orange: #C8401F;
  --orange-soft: #FBEDE6;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --s1: 6px; --s2: 10px; --s3: 16px; --s4: 24px; --s5: 36px; --s6: 56px; --s7: 88px;
  --shadow: 0 1px 2px rgba(26,25,23,.04), 0 14px 36px rgba(35,47,75,.07);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
svg { display: block; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 13px/1 var(--font-body); letter-spacing: .01em;
  padding: 12px 20px; border-radius: 8px; cursor: pointer;
  transition: transform .16s, background .16s, box-shadow .16s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { font-size: 14px; padding: 15px 26px; }
.btn-solid { background: var(--baja); color: #fff; box-shadow: 0 6px 16px rgba(35,47,75,.16); }
.btn-solid:hover { background: var(--baja-soft); }
.btn-line { border: 1px solid var(--line); background: var(--panel); color: var(--ink); }
.btn-line:hover { border-color: var(--baja); }
.btn-light { background: #fff; color: var(--baja); }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,245,241,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { height: 68px; display: flex; align-items: center; gap: var(--s4); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--baja); }
.brand-mark { width: 28px; height: 28px; flex: none; }
.brand span { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.brand b { font-weight: 600; color: var(--teal); }
.topnav { display: flex; gap: var(--s4); margin-left: auto; }
.topnav a { font-size: 13px; font-weight: 500; color: var(--muted); transition: color .15s; }
.topnav a:hover { color: var(--baja); }
.topcta { margin-left: var(--s2); }

/* ---------- shared ---------- */
.eyebrow {
  font: 500 11px/1.4 var(--font-mono); letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal); margin-bottom: var(--s3);
}
.section { padding: var(--s7) 0; }
.section-alt { background: var(--soft); border-block: 1px solid var(--line); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--s5); margin-bottom: var(--s6);
}
.section-head h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; letter-spacing: -.02em;
}
.section-intro { max-width: 400px; font-size: 14.5px; color: var(--muted); }

/* ---------- hero ---------- */
.hero { padding: var(--s7) 0 var(--s6); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: center; }
.hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(42px, 6.4vw, 72px); line-height: 1.04; letter-spacing: -.035em;
  margin-bottom: var(--s4);
}
.hero h1 em { font-style: italic; color: var(--baja); }
.lede { max-width: 500px; font-size: 16.5px; color: var(--muted); margin-bottom: var(--s5); }
.lede b { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; gap: var(--s2); flex-wrap: wrap; }
.hero-foot { font-size: 13px; color: var(--muted); margin-top: var(--s4); }

/* hero visual */
.hero-visual { position: relative; min-height: 420px; display: flex; align-items: center; }
.visual-halo {
  position: absolute; inset: 10% -10% 5% 0; border-radius: 50%;
  background: radial-gradient(circle at 60% 45%, rgba(14,124,111,.14), transparent 66%);
  pointer-events: none;
}
.window {
  position: relative; width: 100%; background: var(--panel);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  overflow: hidden; transform: rotate(-1.2deg);
}
.window-bar {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  border-bottom: 1px solid var(--line); background: #FCFBF8;
}
.dots { display: flex; gap: 5px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.dots i:first-child { background: var(--orange); opacity: .7; }
.window-label { font: 500 11px var(--font-mono); color: var(--muted); }
.window-live { margin-left: auto; font: 500 10px var(--font-mono); color: var(--teal); }
.window-body { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px; }
.tile {
  border: 1px solid var(--line); border-radius: 10px; padding: 16px;
  background: var(--soft); min-height: 210px; display: flex; flex-direction: column;
}
.tile-v { border-top: 3px solid var(--teal); }
.tile-m { border-top: 3px solid var(--orange); }
.tile-kicker { font: 500 10px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tile strong { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin-top: 4px; }
.tile-art { position: relative; flex: 1; margin: 14px 0; overflow: hidden; border-radius: 6px; background: #fff; border: 1px solid var(--line); }
.shape { position: absolute; border-radius: 6px; }
.shape.blob { inset: 18% 12% 18% 14%; background: var(--teal-soft); border: 1px solid var(--teal); }
.shape.ring { width: 42%; height: 42%; right: 10%; bottom: 14%; border: 3px solid var(--teal); border-radius: 50%; }
.frame { position: absolute; inset: 16% 12%; border: 2px solid var(--orange); border-radius: 6px; background: var(--orange-soft); }
.play { position: absolute; top: 50%; left: 50%; width: 0; height: 0; transform: translate(-30%, -50%); border-left: 16px solid var(--orange); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.tile-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.tile-meta span { font: 500 9px var(--font-mono); color: var(--muted); background: var(--panel); border: 1px solid var(--line); padding: 4px 7px; border-radius: 999px; }
.float-badge {
  position: absolute; right: -8px; bottom: 18px;
  background: var(--baja); color: #fff; font-size: 12px; font-weight: 600;
  padding: 10px 16px; border-radius: 999px; box-shadow: 0 10px 24px rgba(35,47,75,.22);
  transform: rotate(2deg);
}
.float-badge span { color: #8fe0cd; margin-right: 6px; }

/* ---------- trust strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--panel); }
.strip-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3);
  padding-block: var(--s4);
}
.strip-inner span { font: 500 11.5px var(--font-mono); color: var(--muted); }
.strip-inner span::before { content: '✓'; color: var(--teal); margin-right: 8px; }

/* ---------- products ---------- */
.product {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: var(--s5); margin-bottom: var(--s4);
  display: grid; grid-template-columns: .95fr 1.05fr; gap: var(--s6); align-items: center;
}
.product-visual { display: flex; }
.tags { display: flex; gap: 6px; margin-bottom: var(--s3); }
.tag { font: 500 10px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--paper); color: var(--muted); border: 1px solid var(--line); }
.tag.live { background: var(--teal-soft); color: var(--teal); border-color: transparent; }
.product-m .tag.live { background: var(--orange-soft); color: var(--orange); }
.product h3 { font-family: var(--font-display); font-size: 34px; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.product-desc { font-size: 14.5px; color: var(--muted); margin: var(--s3) 0; }
.checks { list-style: none; margin-bottom: var(--s4); }
.checks li { font-size: 13.5px; padding: 7px 0; border-bottom: 1px dashed var(--line); display: flex; gap: 10px; align-items: center; }
.checks li::before { content: '✓'; color: var(--teal); font-weight: 700; }
.product-m .checks li::before { color: var(--orange); }
.product-actions { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.price { font-size: 14px; color: var(--muted); }
.price s { margin-left: 6px; font-size: 12px; }

/* product preview art */
.v-preview, .m-preview { width: 100%; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--soft); }
.v-bar { display: flex; align-items: center; gap: 5px; padding: 10px 12px; background: #fff; border-bottom: 1px solid var(--line); }
.v-bar span { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.v-bar b { margin-left: auto; font: 500 10px var(--font-mono); color: var(--muted); }
.v-stage { display: grid; grid-template-columns: 100px 1fr; min-height: 220px; }
.v-panel { padding: 16px 12px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px; background: #fff; }
.v-line { height: 8px; border-radius: 3px; background: var(--line); }
.v-line.active { background: var(--teal); opacity: .65; }
.v-line.short { width: 60%; }
.v-canvas { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.v-canvas svg { width: 110px; height: 110px; }
.v-caption { font: 500 10px var(--font-mono); color: var(--muted); }
.m-preview { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.m-stage { position: relative; height: 190px; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.m-card { position: absolute; width: 28%; height: 58%; top: 16%; border: 1.5px solid var(--orange); border-radius: 8px; background: var(--orange-soft); display: flex; align-items: flex-end; padding: 8px; }
.m-card span { font: 500 10px var(--font-mono); color: var(--orange); }
.m-card.c1 { left: 8%; opacity: .5; }
.m-card.c2 { left: 36%; top: 10%; height: 68%; }
.m-card.c3 { left: 64%; opacity: .5; }
.m-timeline { position: absolute; left: 8%; right: 8%; bottom: 12%; display: flex; gap: 6px; }
.m-timeline i { flex: 1; height: 4px; border-radius: 999px; background: var(--orange); opacity: .35; }
.m-timeline i:nth-child(2) { opacity: 1; }
.m-label { font: 500 10px var(--font-mono); color: var(--muted); }

/* ---------- steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); counter-reset: step; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: var(--s4); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--baja);
  color: var(--baja); font: 500 12px var(--font-mono); margin-bottom: var(--s3);
}
.steps h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.steps p { font-size: 13.5px; color: var(--muted); }

/* ---------- principles ---------- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.principle { border-top: 2px solid var(--baja); padding-top: var(--s4); }
.p-icon { font: 500 22px var(--font-mono); color: var(--teal); }
.principle h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin: var(--s2) 0 8px; }
.principle p { font-size: 13.5px; color: var(--muted); }

/* ---------- cta ---------- */
.cta-band { background: var(--baja); color: #fff; padding: var(--s7) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); }
.cta-band .eyebrow { color: #8fe0cd; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px); font-weight: 600; line-height: 1.1; margin-bottom: var(--s2); }
.cta-band p { color: #C5CFDF; font-size: 14.5px; }

/* ---------- footer ---------- */
.footer { background: var(--panel); border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--s5); padding-block: var(--s6); }
.foot-logo { color: var(--baja); }
.foot-logo span { font-size: 19px; }
.foot-brand p { font-size: 13px; color: var(--muted); margin-top: var(--s3); }
.foot-links { display: flex; flex-direction: column; gap: 9px; }
.foot-links h4 { font: 500 11px var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }
.foot-links a { font-size: 13.5px; }
.foot-links a:hover { color: var(--teal); }
.foot-base {
  display: flex; justify-content: space-between; gap: var(--s3);
  border-top: 1px solid var(--line); padding-block: var(--s3);
  font: 500 11px var(--font-mono); color: var(--muted);
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .product { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: var(--s3); }
  .principles { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 32px, 1120px); }
  .topnav, .topcta { display: none; }
  .hero { padding-top: var(--s6); }
  .window-body { grid-template-columns: 1fr; }
  .float-badge { right: 8px; }
  .strip-inner { flex-direction: column; }
  .steps { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; }
  .foot-base { flex-direction: column; }
}
