/* ============================================================
   DIGIFANA — cofounder.css  (halaman /cofounder)
   Token & primitif dari theme.css + agencee.css — nggak bikin dunia baru.
   Bagian: hero split + panggung "Memori" 3D · slab screenshot · mekanisme ·
   tangga · hitungan · bukti · isi paket · harga.
   ============================================================ */

/* ---------- hero: copy kiri, kanvas memori kanan ---------- */
.brain-hero { text-align: left; padding: 54px 0 44px; }
.brain-hero .arches { display: none; }
.brain-hero .wrap {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 40px; align-items: center;
}
.brain-hero .wrap > * { min-width: 0; }
.brain-hero h1 { font-size: clamp(30px, 4.3vw, 52px); line-height: 1.06; }
.brain-hero .sub { margin: 18px 0 24px; max-width: 560px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.hero-actions + .btn-note { margin-top: 14px; }
.hero-cue {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  color: #d8cec8; font-size: 13px;
}
.hero-cue::before {
  content: ""; width: 7px; height: 7px; border-radius: 999px;
  background: var(--acc); box-shadow: 0 0 14px rgba(255, 153, 28, .8);
}
.hero-cue strong { color: var(--txt); }

/* panggung 3D: kanvas di slab miring yang ngikutin kursor (JS nulis --rx/--ry) */
.brain-stage {
  position: relative; perspective: 1400px; perspective-origin: 50% 38%;
  height: clamp(380px, 36vw, 560px);
}
.brain-stage::after {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: -30px; height: 50px;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, .7), transparent 72%);
  filter: blur(12px); pointer-events: none;
}
.brain-3d {
  position: absolute; inset: 0; z-index: 1;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 13deg)) rotateY(var(--ry, -7deg));
  border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(180deg, #0f0f0f, #080808);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .02);
}
/* pelat gelap di belakang → slab punya ketebalan (pola flow-panel) */
.brain-3d::before {
  content: ""; position: absolute; inset: -1px; border-radius: 23px;
  background: #050505; border: 1px solid rgba(255, 255, 255, .05);
  transform: translateZ(-18px); z-index: -1;
}
/* grid kertas milimeter yang geser pelan — kg-grid di dashboard aslinya */
.brain-grid {
  position: absolute; inset: 0; border-radius: 22px; overflow: hidden;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  animation: brain-drift 70s linear infinite;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 55%, transparent 100%);
}
@keyframes brain-drift { from { background-position: 0 0; } to { background-position: 44px 44px; } }
.brain-3d canvas { position: absolute; inset: 0; display: block; border-radius: 22px; }
.brain-stage.is-hot canvas { cursor: pointer; }
/* chip HUD melayang di depan kanvas */
.brain-chip {
  position: absolute; z-index: 2; transform: translateZ(34px);
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 10px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .1); background: rgba(8, 8, 8, .78);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7);
  white-space: nowrap;
}
.brain-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--good); box-shadow: 0 0 10px rgba(37, 211, 102, .7); }
.brain-chip.tr { top: 14px; right: 14px; }
.brain-chip.bl { bottom: 14px; left: 14px; color: rgba(255, 255, 255, .55); }
.brain-chip.bl i { background: var(--acc); box-shadow: 0 0 10px rgba(255, 153, 28, .7); }

/* ---------- slab screenshot (kelas flow-* dari flow.css) ---------- */
.shots-head { max-width: 760px; }
.shots-head h2 { margin-bottom: 0; }
.shots-wrap { margin-top: 28px; }
.shots-wrap .flow-tabs { margin-bottom: 14px; }
.shots-canvas {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: 0 0 21px 21px; background: #050505;
}
.shots-canvas img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  opacity: 0; transition: opacity .45s ease;
}
.shots-canvas img.is-on { opacity: 1; }
.shots-cap { margin: 16px 0 0; font-size: 14px; color: var(--txt); }
.shots-note { margin: 8px 0 0; font-size: 12.5px; color: rgba(255, 255, 255, .42); }

/* ---------- mekanisme ---------- */
.mech-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.mech-card { position: relative; padding: 24px; overflow: hidden; }
.mech-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px;
  background: linear-gradient(90deg, var(--acc), transparent 82%);
}
.mech-card h3 { margin: 12px 0 8px; font-size: 20px; line-height: 1.2; }
.mech-card p { color: var(--mut); font-size: 14.5px; line-height: 1.65; }
.mech-card p strong { color: var(--txt); }
.honest-note {
  margin-top: 16px; padding: 16px 18px; border-radius: 12px;
  border: 1px solid rgba(255, 153, 28, .24); background: rgba(255, 153, 28, .05);
  color: var(--mut); font-size: 13.5px; line-height: 1.6;
}
.honest-note strong { color: var(--txt); }
.int-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.int-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel); color: var(--mut); font-size: 12.5px; font-weight: 600;
}
.int-chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--good); }

/* ---------- tangga Baca → Bangun → Punya ---------- */
.ladder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.ladder-card { position: relative; display: flex; flex-direction: column; padding: 24px; }
.ladder-card h3 { margin: 12px 0 8px; font-size: 21px; }
.ladder-card p { color: var(--mut); font-size: 14.5px; line-height: 1.65; }
.ladder-card.read { opacity: .72; }
.ladder-card.read h3 { color: rgba(255, 255, 255, .78); }
.ladder-card.own { border-color: rgba(255, 153, 28, .4); }
.ladder-tally {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
}
.ladder-tally span { color: var(--mut); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ladder-tally b { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.ladder-card.read .ladder-tally b { color: rgba(255, 255, 255, .4); }
.ladder-card.own .ladder-tally b { color: var(--acc); }
.ladder-note { max-width: 680px; margin: 22px auto 0; text-align: center; color: var(--mut); font-size: 14.5px; line-height: 1.6; }
.ladder-note strong { color: var(--txt); }

/* ---------- hitungan balik modal ---------- */
.roi {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px; align-items: stretch; margin-top: 28px;
}
.roi-card { padding: 26px; }
.roi-card span { display: block; color: var(--mut); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.roi-card strong {
  display: block; margin-top: 8px; font-family: var(--display); font-weight: 600;
  font-size: clamp(26px, 3.6vw, 40px); line-height: 1; letter-spacing: -.03em; color: #fff;
}
.roi-card p { margin: 12px 0 0; color: var(--mut); font-size: 14px; line-height: 1.6; }
.roi-card.win { border-color: rgba(37, 211, 102, .3); }
.roi-card.win strong { color: var(--good); }
.roi-vs { display: grid; place-items: center; font-family: var(--display); font-size: 20px; color: var(--mut); }
.roi-line { max-width: 720px; margin: 22px auto 0; text-align: center; color: var(--txt); font-size: clamp(17px, 2.2vw, 22px); font-weight: 700; line-height: 1.4; }
.roi-line .grad { display: inline; }
.fine-print { color: #90857f; font-size: 12px; line-height: 1.55; }
.roi-fine { max-width: 640px; margin: 14px auto 0; text-align: center; }

/* ---------- bukti ---------- */
.proof-block { padding-top: 26px !important; }
.proof-case { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 34px; align-items: center; }
.proof-copy .sec-sub { max-width: 420px; }
.proof-stats { margin: 22px 0 16px; display: grid; gap: 10px; }
.proof-stat {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 12px 16px; border: 1px solid rgba(37, 211, 102, .22); border-radius: 12px;
  background: linear-gradient(90deg, rgba(37, 211, 102, .1), rgba(37, 211, 102, .03) 50%, transparent 80%);
}
.proof-stat span { color: var(--mut); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.proof-stat strong { font-family: var(--display); font-weight: 600; font-size: clamp(18px, 2.4vw, 24px); letter-spacing: -.02em; color: #fff; white-space: nowrap; }
.proof-stat strong em { font-style: normal; color: var(--good); }
.receipt { overflow: hidden; margin: 0; padding: 0; }
.receipt-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 15px; background: rgba(0, 0, 0, .34); border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: var(--mut); font: 700 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .14em; text-transform: uppercase;
}
.receipt-bar .paid { color: var(--good); }
.receipt img { display: block; width: 100%; height: auto; background: #050505; }
.receipt figcaption {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 12px 15px; color: var(--mut); font-size: 12px; border-top: 1px solid var(--line);
}
.receipt figcaption strong { color: var(--txt); }
.proof-case-note { margin-top: 26px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; color: var(--mut); font-size: 14px; line-height: 1.6; }
.proof-case-note strong { color: var(--txt); }
#testimoni .proof-grid { margin-top: 24px; }
.cofounder-testimonial {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 24px; align-items: center; margin-top: 28px; padding: 22px;
  border-radius: 28px;
}
.cofounder-testimonial-copy blockquote {
  margin: 16px 0; color: var(--txt); font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700; line-height: 1.35;
}
.cofounder-testimonial-copy blockquote + blockquote { color: var(--acc); }
.cofounder-testimonial-copy p { color: var(--mut); font-size: 14px; line-height: 1.6; }
.cofounder-testimonial-shot { margin: 0; min-width: 0; }
.cofounder-testimonial-shot a { display: block; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.cofounder-testimonial-shot img { display: block; width: 100%; height: auto; }
.cofounder-testimonial-shot figcaption { color: var(--mut); font-size: 12px; margin-top: 9px; text-align: right; }
.proof-related-intro { margin-top: 44px; }

/* ---------- isi paket ---------- */
.value-panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 22px; align-items: stretch; margin-top: 28px; }
.value-main, .value-side { padding: 28px; }
.value-main blockquote { font-size: clamp(22px, 3.2vw, 32px); font-weight: 800; line-height: 1.25; letter-spacing: -.02em; }
.value-main p { color: var(--mut); margin-top: 14px; }
.value-side h3 { margin-bottom: 8px; }
.value-side .vlist li { font-size: 14.5px; }
.pack-list { margin: 26px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.pack-row {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 14px; align-items: start;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.pack-row .hnum { margin: 0; padding: 3px 0; width: 34px; text-align: center; font-size: 11px; }
.pack-row h4 { margin: 0 0 4px; font-size: 16px; color: var(--txt); }
.pack-row p { margin: 0; color: var(--mut); font-size: 13.5px; line-height: 1.55; }
.pack-state {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; white-space: nowrap;
  font: 800 9.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid rgba(37, 211, 102, .35); background: rgba(37, 211, 102, .08); color: var(--good);
}
.pack-state.soon { border-color: rgba(255, 153, 28, .35); background: rgba(255, 153, 28, .08); color: #ffc474; }

/* ---------- harga ---------- */
.price-next {
  margin: 0 0 22px; padding: 12px 16px; border-radius: 12px;
  border: 1px solid rgba(255, 153, 28, .3); background: rgba(255, 153, 28, .07);
  color: var(--txt); font-size: 14px; line-height: 1.55;
}
.price-next strong { color: var(--acc); }
.guarantee-box {
  margin: 16px auto 0; max-width: 460px; padding: 12px 16px;
  border: 1px solid rgba(37, 211, 102, .25); background: rgba(37, 211, 102, .06); border-radius: 12px;
  font-size: 13px; line-height: 1.55; color: var(--mut);
}
.guarantee-box strong { color: var(--good); }
.guarantee-note { max-width: 660px; margin: 18px auto 0; color: #8f847e; font-size: 12px; line-height: 1.55; }

/* ---------- responsif ---------- */
@media (max-width: 1023px) {
  .brain-hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .brain-hero .sub { max-width: 640px; }
  .brain-stage { height: clamp(320px, 60vw, 460px); perspective-origin: 50% 30%; }
}
@media (max-width: 760px) {
  .cofounder-testimonial { grid-template-columns: 1fr; gap: 18px; padding: 16px; }
  .brain-hero { padding: 40px 0 34px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .btn, .hero-actions .btn-ghost { justify-content: center; }
  .brain-stage { height: clamp(300px, 88vw, 380px); }
  .brain-chip { font-size: 9px; padding: 5px 8px; }
  .shots-canvas { aspect-ratio: 4 / 3; }
  .mech-grid, .ladder, .value-panel, .proof-case { grid-template-columns: 1fr; }
  .roi { grid-template-columns: 1fr; gap: 10px; }
  .roi-vs { padding: 4px 0; }
  .proof-case { gap: 24px; }
  .receipt { order: 2; }
  .pack-row { grid-template-columns: 30px minmax(0, 1fr); }
  .pack-row .pack-state { grid-column: 2; justify-self: start; }
  .receipt figcaption { flex-direction: column; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .brain-grid { animation: none; }
  .brain-3d { transform: rotateX(10deg) rotateY(-5deg) !important; }
  .shots-canvas img { transition: none; }
}

/* harga: angka jangan pecah dua baris di kotak 480px; anchor = pembanding jasa, BUKAN harga lama → jangan dicoret
   (aturan 4-Sep: harga coret cuma kalau harga lamanya beneran pernah ada) */
#harga .price { white-space: nowrap; font-size: clamp(38px, 4.2vw, 54px); }
#harga .anchor { text-decoration: none; color: var(--txt); font-weight: 700; }

/* Virtual 3D Office — additive section; original hero preserved. */
.office-section { scroll-margin-top: 110px; }
.office-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: end; margin-bottom: 28px; }
.office-intro .sec-sub { margin: 0; }
.office-recording { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #101110; scroll-margin-top: 110px; }
.office-video-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 16px 20px; color: var(--txt); font-size: 12px; font-weight: 700; }
.office-video-bar span:last-child { color: var(--acc); }
.office-recording video { display: block; width: 100%; height: auto; aspect-ratio: 1240 / 592; background: #080808; }
.office-recording figcaption { padding: 16px 20px; color: var(--mut); font-size: 13px; line-height: 1.6; }
.office-recording figcaption a { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; }
.office-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 32px; }
.office-benefits article { border-top: 1px solid var(--line); padding-top: 20px; }
.office-benefits h3 { font-family: var(--display); font-size: 17px; line-height: 1.45; margin: 0 0 12px; color: var(--txt); }
.office-benefits p { font-size: 14px; line-height: 1.7; color: var(--mut); margin: 0; }
.office-note { margin: 24px 0 12px; max-width: 76ch; color: var(--mut); font-size: 12px; line-height: 1.6; }
.office-package-link { display: inline-flex; padding: 12px 0; }
.office-recording video:focus-visible, .office-recording a:focus-visible, .office-package-link:focus-visible { outline: 3px solid var(--acc); outline-offset: 5px; }
@media (max-width: 760px) {
  .office-intro, .office-benefits { grid-template-columns: 1fr; gap: 22px; }
  .office-video-bar, .office-recording figcaption { padding: 14px; }
  .office-recording { border-radius: 16px; }
}
