/* ============================================================
   SPENSA CODING DEPARTEMENT — Public Site
   Signature: a live "code editor" hero + terminal/comment-style
   section labels, tying the design language directly back to
   the subject (code), rather than generic marketing-site chrome.
   ============================================================ */

:root {
  --pub-font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --pub-font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --pub-amber: #F5A623;   /* string/highlight accent, echoes editor syntax colors */
}

body { font-family: var(--sc-font-body); }

.sc-public-body h1, .sc-public-body h2, .sc-public-body h3,
.sc-public-body h4, .sc-public-body h5, .sc-public-body h6,
.sc-public-body .display-font {
  font-family: var(--pub-font-display);
}

/* ---------- Navbar: blurred glass, terminal-prompt active state ---------- */
.sc-public-nav {
  background: linear-gradient(160deg, var(--sc-indigo) 0%, var(--sc-navy) 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: relative;
  overflow: hidden;
}
.sc-public-nav::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}
.sc-public-nav .container { position: relative; z-index: 1; }
.sc-public-nav .navbar-brand span { font-family: var(--pub-font-display); letter-spacing: -.01em; }
.sc-public-nav .navbar-brand { min-width: 0; }
@media (max-width: 480px) {
  .sc-public-nav .navbar-brand span {
    font-size: .95rem;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
.sc-public-nav .nav-link {
  position: relative;
  font-family: var(--pub-font-mono);
  font-size: .88rem;
  padding-left: 1.1em !important;
}
.sc-public-nav .nav-link::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sc-teal);
  transform: translateY(-50%) scale(0);
  transition: transform .18s ease;
}
.sc-public-nav .nav-link:hover::before,
.sc-public-nav .nav-link.active::before { transform: translateY(-50%) scale(1); }

@media (max-width: 991.98px) {
  .sc-public-nav .navbar-collapse {
    background: linear-gradient(165deg, #1E2266 0%, var(--sc-navy) 100%);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    margin-top: 14px;
    padding: 10px;
    box-shadow: var(--sc-shadow-lg);
  }
  .sc-public-nav .navbar-nav { gap: 2px; }
  .sc-public-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px !important;
    border-radius: 10px;
    font-family: var(--pub-font-mono);
    font-size: .92rem;
    color: rgba(255,255,255,.72);
    transition: background .18s ease, color .18s ease, padding-left .18s ease;
  }
  .sc-public-nav .nav-link::before { display: none; }
  .sc-public-nav .nav-link .sc-nav-ico {
    width: 30px; height: 30px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px;
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.55);
    font-size: .82rem;
    flex-shrink: 0;
    transition: background .18s ease, color .18s ease;
  }
  .sc-public-nav .nav-link:hover {
    background: rgba(255,255,255,.06);
    color: #fff;
    padding-left: 18px !important;
  }
  .sc-public-nav .nav-link.active {
    background: linear-gradient(90deg, rgba(35,217,192,.16), rgba(35,217,192,.02));
    color: #fff;
    box-shadow: inset 3px 0 0 var(--sc-teal);
  }
  .sc-public-nav .nav-link.active .sc-nav-ico,
  .sc-public-nav .nav-link:hover .sc-nav-ico { background: var(--sc-teal); color: var(--sc-navy); }
  .sc-nav-cta-item {
    margin-top: 10px !important;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.1);
  }
}
@media (min-width: 992px) {
  .sc-nav-ico { display: none; }
}

/* ---------- Custom hamburger toggler (gradient lines morph into X) ---------- */
.sc-navbar-toggler {
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background .2s ease, border-color .2s ease;
}
.sc-navbar-toggler:hover { background: rgba(255,255,255,.12); }
.sc-navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(35,217,192,.3); outline: none; }
.sc-burger-line {
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sc-teal), var(--sc-indigo-light));
  transition: transform .3s ease, opacity .2s ease;
}
.sc-navbar-toggler:not(.collapsed) .l1 { transform: translateY(7px) rotate(45deg); }
.sc-navbar-toggler:not(.collapsed) .l2 { opacity: 0; transform: scaleX(0); }
.sc-navbar-toggler:not(.collapsed) .l3 { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Staggered reveal for mobile nav items ---------- */
@media (max-width: 991.98px) {
  @media (prefers-reduced-motion: no-preference) {
    .sc-public-nav .navbar-collapse.show .nav-item {
      animation: scNavItemIn .35s ease both;
    }
    .sc-public-nav .navbar-collapse.show .nav-item:nth-child(1) { animation-delay: .02s; }
    .sc-public-nav .navbar-collapse.show .nav-item:nth-child(2) { animation-delay: .07s; }
    .sc-public-nav .navbar-collapse.show .nav-item:nth-child(3) { animation-delay: .12s; }
    .sc-public-nav .navbar-collapse.show .nav-item:nth-child(4) { animation-delay: .17s; }
    .sc-public-nav .navbar-collapse.show .nav-item:nth-child(5) { animation-delay: .22s; }
    .sc-public-nav .navbar-collapse.show .nav-item:nth-child(6) { animation-delay: .27s; }
    @keyframes scNavItemIn {
      from { opacity: 0; transform: translateX(-10px); }
      to { opacity: 1; transform: translateX(0); }
    }
  }
}

/* ---------- Eyebrow labels: solid gradient chip with icon ---------- */
.sc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sc-font-body);
  font-weight: 600;
  font-size: .84rem;
  color: #fff;
  background: linear-gradient(120deg, var(--sc-teal), var(--sc-indigo-light));
  padding: .45em 1.1em;
  border-radius: 999px;
  margin-bottom: 28px;
  letter-spacing: .01em;
  box-shadow: 0 10px 24px -10px rgba(35, 217, 192, .55);
}
.sc-eyebrow i { font-size: .8rem; }
.sc-eyebrow + h1,
.sc-eyebrow + h2,
.sc-eyebrow + h3 {
  margin-top: 0;
}
.sc-eyebrow.on-dark { background: linear-gradient(120deg, rgba(35,217,192,.95), rgba(110,126,232,.95)); }

/* ---------- Hero ---------- */
.sc-hero-split {
  background:
    radial-gradient(circle at 85% 0%, rgba(110,126,232,.35) 0, transparent 50%),
    linear-gradient(160deg, var(--sc-navy) 0%, #10133F 100%);
  color: #fff;
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.sc-hero-split::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 30% 20%, black, transparent 70%);
  pointer-events: none;
}
.sc-hero-split.has-photo {
  background-size: cover;
  background-position: center;
}
.sc-hero-split.has-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(27,31,92,.92) 15%, rgba(43,47,140,.85) 55%, rgba(27,31,92,.7) 100%);
}
.sc-hero-split .container { position: relative; z-index: 1; }

/* ---------- Ambient floating glow (Beranda hero signature) ---------- */
.sc-hero-ambient { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.sc-hero-ambient span { position: absolute; border-radius: 50%; filter: blur(64px); opacity: .32; }
.sc-hero-ambient span:nth-child(1) { width: 260px; height: 260px; background: var(--sc-teal); top: -70px; left: -50px; }
.sc-hero-ambient span:nth-child(2) { width: 320px; height: 320px; background: var(--sc-indigo-light); bottom: -110px; right: -70px; }
.sc-hero-ambient span:nth-child(3) { width: 170px; height: 170px; background: var(--pub-amber); top: 42%; right: 8%; opacity: .22; }
@media (prefers-reduced-motion: no-preference) {
  .sc-hero-ambient span:nth-child(1) { animation: scAmbient1 13s ease-in-out infinite; }
  .sc-hero-ambient span:nth-child(2) { animation: scAmbient2 15s ease-in-out infinite; }
  .sc-hero-ambient span:nth-child(3) { animation: scAmbient3 10s ease-in-out infinite; }
  @keyframes scAmbient1 { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(34px, 24px); } }
  @keyframes scAmbient2 { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(-28px, -20px); } }
  @keyframes scAmbient3 { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-18px, 16px) scale(1.18); } }
}

/* ---------- Animated gradient accent (Beranda headline) ---------- */
.sc-hero-headline .accent {
  background: linear-gradient(90deg, var(--sc-teal), var(--sc-indigo-light), var(--sc-teal));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (prefers-reduced-motion: no-preference) {
  .sc-hero-headline .accent { animation: scHeadlineShimmer 5s linear infinite; }
  @keyframes scHeadlineShimmer { to { background-position: 200% center; } }
}

/* ---------- Idle float + mouse-tilt for the code window ---------- */
.sc-hero-split .row > div:nth-child(2) { perspective: 1200px; }
.sc-code-window { transform-style: preserve-3d; will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  .sc-code-window { animation: scCodeFloat 6s ease-in-out infinite; }
  .sc-code-window.sc-tilting { animation: none; }
  @keyframes scCodeFloat {
    0%, 100% { transform: rotate(1.2deg) translateY(0); }
    50% { transform: rotate(1.2deg) translateY(-10px); }
  }
}
@media (max-width: 991.98px) { .sc-code-window { animation: none; } }

/* ---------- Button shine sweep (Beranda CTAs) ---------- */
.sc-btn-glow { position: relative; overflow: hidden; }
.sc-btn-glow::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg);
}
@media (prefers-reduced-motion: no-preference) {
  .sc-btn-glow:hover::after { animation: scShine 1s ease-in-out; }
}
.sc-hero-headline {
  font-family: var(--pub-font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -.01em;
}
.sc-hero-headline .accent { color: var(--sc-teal); }
.sc-hero-sub { color: rgba(255,255,255,.72); font-size: 1.08rem; max-width: 480px; }

/* ---------- Code editor window (signature element) ---------- */
.sc-code-window {
  background: #12162E;
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(6, 8, 34, 0.45), 0 0 0 1px rgba(255,255,255,.06);
  overflow: hidden;
  font-family: var(--pub-font-mono);
  transform: rotate(1.2deg);
}
.sc-code-titlebar {
  background: #191D3A;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.sc-code-titlebar .dot { width: 11px; height: 11px; border-radius: 50%; }
.sc-code-titlebar .dot.red { background: #FF5F57; }
.sc-code-titlebar .dot.yellow { background: #FEBC2E; }
.sc-code-titlebar .dot.green { background: #28C840; }
.sc-code-titlebar .filename { margin-left: 10px; color: rgba(255,255,255,.4); font-size: .78rem; }
.sc-code-body {
  padding: 22px 20px 26px;
  font-size: .86rem;
  line-height: 1.85;
  min-height: 230px;
}
.sc-code-body .ln { display: inline-block; width: 22px; color: rgba(255,255,255,.25); user-select: none; }
.sc-code-body .code-line {
  white-space: pre;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
}
.sc-code-body .code-line.visible { opacity: 1; transform: none; }
.sc-code-body .kw { color: #C792EA; }       /* keyword */
.sc-code-body .fn { color: #82AAFF; }       /* function/class */
.sc-code-body .str { color: var(--pub-amber); } /* string */
.sc-code-body .cm { color: #6b7394; }       /* comment */
.sc-code-body .vv { color: #F07178; }       /* variable */
.sc-code-body .jk { color: #82AAFF; }       /* json key */
.sc-code-body .jv { color: var(--pub-amber); } /* json value */
.sc-code-body .jp { color: rgba(255,255,255,.35); } /* json punctuation */
.sc-code-body pre, .sc-code-body code { color: inherit; font-family: inherit; font-size: inherit; margin: 0; }
.sc-code-body .code-line.cursor-line::after {
  content: '';
  display: inline-block;
  width: 8px; height: 1.1em;
  background: var(--sc-teal);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: sc-blink 1s steps(1) infinite;
}
@keyframes sc-blink { 50% { opacity: 0; } }

/* ---------- Feature "file tab" cards (Beranda — kenapa gabung) ---------- */
.sc-feature-file { overflow: hidden; }
.sc-feature-tab {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--sc-bg);
  border-bottom: 1px solid var(--sc-border);
  font-family: var(--pub-font-mono);
  font-size: .78rem;
  color: var(--sc-text-muted);
}
.sc-feature-file .sc-card-body { padding: 22px 20px 24px; }
.sc-feature-file h6 { font-weight: 700; margin-bottom: 8px; transition: color .2s ease; }
.sc-feature-file:hover h6 { color: var(--sc-indigo); }

/* ---------- Tech stack marquee (Beranda, below hero) ---------- */
.sc-marquee-wrap {
  background: var(--sc-navy);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.sc-marquee { width: 100%; overflow: hidden; }
.sc-marquee-track { display: flex; width: max-content; gap: 52px; }
.sc-marquee-item {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--pub-font-mono); font-size: .92rem;
  color: rgba(255,255,255,.55); white-space: nowrap;
}
.sc-marquee-item i { font-size: 1.25rem; color: var(--sc-teal); }
@media (prefers-reduced-motion: no-preference) {
  .sc-marquee-track { animation: scMarquee 28s linear infinite; }
  .sc-marquee-wrap:hover .sc-marquee-track { animation-play-state: paused; }
  @keyframes scMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) {
  .sc-marquee { overflow-x: auto; }
}

/* ---------- Filter pills (Galeri: Semua/Foto/Video) ---------- */
.sc-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .86rem;
  font-weight: 600;
  padding: .55em 1.2em;
  border-radius: 999px;
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  color: var(--sc-text-muted);
  text-decoration: none;
  box-shadow: var(--sc-shadow);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.sc-filter-pill i { font-size: .82rem; }
.sc-filter-pill:hover {
  color: var(--sc-indigo);
  border-color: var(--sc-indigo-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -12px rgba(76,92,214,.35);
}
.sc-filter-pill.active {
  background: linear-gradient(120deg, var(--sc-teal), var(--sc-indigo-light));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(35,217,192,.55);
  transform: translateY(-1px);
}

/* ---------- Ghost section wrapper ---------- */
.sc-section-ghost { position: relative; overflow: hidden; }
.sc-section-ghost .container { position: relative; z-index: 1; }

/* ---------- Tiled "</>" motif for light/white section backgrounds ---------- */
.sc-pattern-bg {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27150%27%20height%3D%2772%27%3E%3Ctext%20x%3D%278%27%20y%3D%2748%27%20font-family%3D%27monospace%27%20font-size%3D%2724%27%20fill%3D%27rgba%28106%2C111%2C158%2C0.09%29%27%3E%26lt%3B/%26gt%3B%3C/text%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* ---------- Floating "notification" chips (code symbols drifting in background) ---------- */
.sc-symbol-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.sc-symbol-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--pub-font-mono);
  font-size: .78rem;
  padding: .5em 1em;
  border-radius: 10px;
  white-space: nowrap;
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  color: var(--sc-text-muted);
  box-shadow: var(--sc-shadow);
  opacity: .8;
}
.sc-symbol-chip i { color: var(--sc-teal); font-size: .74rem; }
.sc-symbol-field.on-dark .sc-symbol-chip {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  color: rgba(255,255,255,.65);
  box-shadow: none;
  backdrop-filter: blur(2px);
}
.sc-symbol-field.on-dark .sc-symbol-chip i { color: var(--sc-teal); }
.sc-symbol-chip.c1 { top: 8%;  left: 4%; }
.sc-symbol-chip.c2 { top: 68%; left: 2%; }
.sc-symbol-chip.c3 { top: 18%; right: 5%; }
.sc-symbol-chip.c4 { top: 72%; right: 6%; }
@media (max-width: 767.98px) {
  .sc-symbol-chip { font-size: .7rem; padding: .4em .8em; }
  .sc-symbol-chip.c2, .sc-symbol-chip.c4 { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .sc-symbol-chip.c1 { animation: scSymbolFloat1 9s ease-in-out infinite; }
  .sc-symbol-chip.c2 { animation: scSymbolFloat2 11s ease-in-out infinite; animation-delay: .6s; }
  .sc-symbol-chip.c3 { animation: scSymbolFloat3 10s ease-in-out infinite; animation-delay: 1.2s; }
  .sc-symbol-chip.c4 { animation: scSymbolFloat1 12s ease-in-out infinite; animation-delay: .3s; }
  @keyframes scSymbolFloat1 { 0%, 100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(10px, -14px) rotate(-2deg); } }
  @keyframes scSymbolFloat2 { 0%, 100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(-12px, 10px) rotate(2deg); } }
  @keyframes scSymbolFloat3 { 0%, 100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(-8px, -12px) rotate(-1.5deg); } }
}

/* ---------- Feature icon badge + colored hover glow ---------- */
.sc-feature-icon {
  width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: .68rem;
  transition: transform .2s ease;
}
.sc-feature-file:hover .sc-feature-icon { transform: scale(1.15) rotate(-4deg); }
.sc-feature-file { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; border: 1px solid var(--sc-border); }
.sc-feature-file:hover {
  border-color: var(--card-accent, var(--sc-indigo));
  box-shadow: 0 20px 46px -18px var(--card-accent, rgba(43,47,140,.4));
}

/* ---------- Git-log style timeline (Tentang — perjalanan kami) ---------- */
.sc-timeline-item { display: flex; gap: 18px; }
.sc-timeline-marker { display: flex; flex-direction: column; align-items: center; width: 14px; flex-shrink: 0; }
.sc-timeline-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--sc-teal);
  box-shadow: 0 0 0 4px rgba(35,217,192,.15);
  flex-shrink: 0; margin-top: 5px;
}
.sc-timeline-dot.head {
  background: var(--sc-indigo);
  box-shadow: 0 0 0 4px rgba(76,92,214,.18);
}
.sc-timeline-line { flex: 1; width: 2px; background: var(--sc-border); margin: 4px 0; min-height: 40px; }
.sc-timeline-body { padding-bottom: 26px; }
.sc-timeline-body .sc-cmd-meta { color: var(--sc-teal); font-family: var(--pub-font-mono); font-size: .78rem; }

/* ---------- Lead cards (Struktur — pembina/ketua) & team avatars ---------- */
.sc-lead-card { border: 1px solid var(--sc-border); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.sc-lead-card:hover {
  border-color: var(--card-accent, var(--sc-indigo));
  box-shadow: 0 20px 46px -18px var(--card-accent, rgba(43,47,140,.4));
}
.sc-team-avatar { transition: transform .25s ease, box-shadow .25s ease; box-shadow: 0 0 0 0 rgba(35,217,192,.4); }
.sc-tilt-card:hover .sc-team-avatar { transform: scale(1.08); box-shadow: 0 0 0 4px rgba(35,217,192,.25); }

/* ---------- Section rhythm ---------- */
.sc-section { padding: 84px 0; }
.sc-section-alt { background: #EEF0FA; }
.sc-lede { color: var(--sc-text-muted); font-size: 1.05rem; max-width: 620px; }

/* ---------- Scroll reveal ---------- */
.sc-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.sc-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .sc-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Cards with hover lift ---------- */
.sc-tilt-card {
  transition: transform .25s ease, box-shadow .25s ease;
}
.sc-tilt-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sc-shadow-lg);
}

/* ---------- Stat strip ---------- */
.sc-stat-strip {
  background: var(--sc-navy);
  color: #fff;
  border-radius: 18px;
  padding: 34px 10px;
  margin-top: -70px;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 50px rgba(20,24,74,.25);
}
.sc-stat-strip .num { font-family: var(--pub-font-display); font-size: 2.1rem; font-weight: 700; color: var(--sc-teal); }
.sc-stat-strip .lbl { font-family: var(--pub-font-mono); font-size: .78rem; color: rgba(255,255,255,.6); }
.sc-stat-strip .border-start, .sc-stat-strip .border-end { border-color: rgba(255,255,255,.15) !important; }

/* ---------- Hero photo (Beranda) — wave-bottom banner style ---------- */
.sc-hero-photo {
  position: relative;
  color: #fff;
  padding: 120px 0 130px;
  overflow: hidden;
  background-color: var(--sc-navy);
  background-size: cover;
  background-position: center;
}
.sc-hero-photo.has-photo::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(27,31,92,.88) 10%, rgba(43,47,140,.82) 55%, rgba(35,217,192,.35) 130%);
}
.sc-hero-photo:not(.has-photo) {
  background:
    radial-gradient(circle at 85% 0%, rgba(110,126,232,.35) 0, transparent 50%),
    linear-gradient(160deg, var(--sc-navy) 0%, #10133F 100%);
}
.sc-hero-photo:not(.has-photo)::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 75%);
}
.sc-hero-photo .container { position: relative; z-index: 1; text-align: center; }
.sc-hero-photo .sc-pill-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid rgba(255,255,255,.55);
  border-radius: 999px;
  padding: .5em 1.3em;
  font-size: .85rem; font-weight: 500;
  margin-bottom: 22px;
  background: rgba(255,255,255,.06);
}
.sc-hero-photo h1 {
  font-family: var(--pub-font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 18px;
  color: #fff;
}
.sc-hero-photo h1 .accent { color: var(--sc-teal); }
.sc-hero-photo p {
  color: rgba(255,255,255,.78);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.02rem;
}
.sc-hero-wave {
  position: absolute; left: 0; right: 0; bottom: -1px;
  line-height: 0;
  z-index: 2;
}
.sc-hero-wave svg { width: 100%; height: 60px; display: block; }
.sc-hero-wave path { fill: var(--sc-bg); }

/* ---------- Pill button (Learn more / Baca) ---------- */
.sc-pill-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sc-teal);
  color: var(--sc-navy) !important;
  font-weight: 600;
  font-size: .84rem;
  padding: .5em 1.1em;
  border-radius: 999px;
  border: none;
  text-decoration: none !important;
  transition: background .15s ease, transform .15s ease;
}
.sc-pill-btn i { font-size: .75rem; }
.sc-pill-btn:hover { background: #1CC2AA; color: var(--sc-navy) !important; transform: translateX(2px); }

/* ---------- Article-style cards (galeri & blog grid) ---------- */
.sc-article-card {
  background: var(--sc-surface);
  border-radius: var(--sc-radius);
  overflow: hidden;
  box-shadow: var(--sc-shadow);
  height: 100%;
  display: flex; flex-direction: column;
}
/* ---------- Gallery masonry: photos/videos keep their natural size, no forced tiny crop ---------- */
.sc-gallery-masonry {
  column-count: 3;
  column-gap: 16px;
}
.sc-gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
}
.sc-gallery-item .sc-card { overflow: hidden; }
.sc-gallery-media {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  background: #10133a;
}
@media (max-width: 991.98px) { .sc-gallery-masonry { column-count: 2; } }
@media (max-width: 575.98px) { .sc-gallery-masonry { column-count: 1; } }

.sc-article-card .sc-article-img {
  height: 190px;
  width: 100%;
  object-fit: cover;
  display: block;
}
.sc-article-card .sc-article-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.sc-article-meta {
  display: flex; align-items: center; gap: 14px;
  font-size: .74rem; color: var(--sc-text-muted);
  margin-bottom: 10px;
}
.sc-article-meta span { display: inline-flex; align-items: center; gap: 5px; }
.sc-article-meta i { color: var(--sc-teal); font-size: .72rem; }
.sc-article-card h6 { font-weight: 700; margin-bottom: 8px; }
.sc-article-card p { color: var(--sc-text-muted); font-size: .86rem; margin-bottom: 14px; flex: 1; }

/* ---------- Rich footer (Beranda) ---------- */
.sc-footer-public {
  background: var(--sc-navy);
  border-top: none;
  font-family: var(--sc-font-body);
  padding: 56px 0 0;
}
.sc-footer-public .sc-footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--pub-font-display); font-weight: 700; font-size: 1.15rem; color: #fff;
  margin-bottom: 14px;
}
.sc-footer-public .sc-footer-desc { color: rgba(255,255,255,.6); font-size: .88rem; max-width: 280px; }
.sc-footer-public h6.sc-footer-heading {
  color: #fff; font-family: var(--pub-font-display); font-weight: 600;
  font-size: .92rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .04em;
}
.sc-footer-public ul.sc-footer-links { list-style: none; padding: 0; margin: 0; }
.sc-footer-public ul.sc-footer-links li { margin-bottom: 10px; }
.sc-footer-public ul.sc-footer-links a {
  color: rgba(255,255,255,.65); font-size: .88rem; text-decoration: none; transition: color .15s ease;
}
.sc-footer-public ul.sc-footer-links a:hover { color: var(--sc-teal); }
.sc-footer-public .sc-footer-info-item {
  display: flex; align-items: flex-start; gap: 10px; color: rgba(255,255,255,.7); font-size: .86rem; margin-bottom: 12px;
}
.sc-footer-public .sc-footer-info-item i { color: var(--sc-teal); margin-top: 3px; }
.sc-footer-public .sc-footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; margin-right: 8px; transition: background .15s ease;
}
.sc-footer-public .sc-footer-social a:hover { background: var(--sc-teal); color: var(--sc-navy); }
.sc-footer-public .sc-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 40px;
  padding: 18px 0;
  color: rgba(255,255,255,.5);
  font-size: .8rem;
  text-align: center;
}

/* ---------- Compact hero for secondary pages ---------- */
.sc-page-hero {
  background: linear-gradient(160deg, var(--sc-navy) 0%, #10133F 100%);
  color: #fff;
  padding: 72px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sc-page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 15%, black, transparent 72%);
}
.sc-page-hero .container { position: relative; z-index: 1; }
.sc-page-hero h1 { font-family: var(--pub-font-display); font-weight: 700; }

/* ---------- Terminal path bar (page-hero signature) ---------- */
.sc-terminal-bar {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 7px 14px 7px 12px;
  margin-bottom: 20px;
  font-family: var(--pub-font-mono);
  font-size: .76rem;
  color: rgba(255,255,255,.5);
}
.sc-terminal-bar .dot { width: 8px; height: 8px; border-radius: 50%; }
.sc-terminal-bar .dot.red { background: #FF5F57; }
.sc-terminal-bar .dot.yellow { background: #FEBC2E; }
.sc-terminal-bar .dot.green { background: #28C840; }
.sc-terminal-bar .path { margin-left: 5px; letter-spacing: .01em; }
.sc-terminal-bar .path .cursor {
  display: inline-block; width: 6px; height: 1em; background: var(--sc-teal);
  margin-left: 2px; vertical-align: text-bottom; animation: sc-blink 1s steps(1) infinite;
}

/* ---------- JSON-style code block (Tentang info card) ---------- */
.sc-json-block {
  background: #12162E;
  color: #e4e6f5;
  border-radius: 10px;
  padding: 18px 20px;
  font-family: var(--pub-font-mono);
  font-size: .82rem;
  line-height: 1.95;
  overflow-x: auto;
  white-space: pre;
}
.sc-json-block .jk { color: #82AAFF; }
.sc-json-block .jv { color: var(--pub-amber); }
.sc-json-block .jp { color: rgba(255,255,255,.35); }

/* ---------- Role tag (Struktur) ---------- */
.sc-role-tag {
  display: inline-block;
  font-family: var(--pub-font-mono);
  font-size: .72rem;
  color: var(--sc-teal);
  background: rgba(35, 217, 192, 0.1);
  border: 1px solid rgba(35, 217, 192, 0.3);
  border-radius: 6px;
  padding: .15em .55em;
}

/* ---------- Gallery hover overlay (file-browser feel) ---------- */
.sc-media-frame { position: relative; overflow: hidden; border-radius: 14px 14px 0 0; }
.sc-media-frame img, .sc-media-frame video { transition: transform .4s ease; }
.sc-tilt-card:hover .sc-media-frame img,
.sc-tilt-card:hover .sc-media-frame video { transform: scale(1.06); }
.sc-media-tag {
  position: absolute; top: 10px; right: 10px;
  background: rgba(18, 22, 46, .78);
  color: var(--sc-teal);
  font-family: var(--pub-font-mono);
  font-size: .68rem;
  padding: .2em .55em;
  border-radius: 5px;
  letter-spacing: .02em;
}

/* ---------- Blog command-line meta ---------- */
.sc-cmd-meta {
  font-family: var(--pub-font-mono);
  font-size: .72rem;
  color: var(--sc-text-muted);
}
.sc-cmd-meta .sym { color: var(--sc-teal); }

@media (max-width: 991.98px) {
  .sc-code-window { transform: none; margin-top: 40px; }
  .sc-stat-strip { margin-top: 24px; }
  .sc-hero-photo { padding: 90px 0 100px; }
}

@media (max-width: 575.98px) {
  .sc-hero-photo { padding: 70px 0 80px; }
  .sc-hero-photo .sc-pill-badge { font-size: .76rem; padding: .45em 1em; }
  .sc-hero-wave svg { height: 34px; }
}

/* ---------- Banner "Pendaftaran Dibuka" — meriah biar nge-hook mata ---------- */
.sc-daftar-banner {
  position: relative;
  overflow: hidden;
  margin: -10px 0 56px;
  border-radius: 24px;
  padding: 44px 32px;
  text-align: center;
  background: linear-gradient(150deg, var(--sc-indigo) 0%, var(--sc-navy) 65%, #12153F 100%);
  box-shadow: 0 24px 60px -18px rgba(27,31,92,.55);
}
.sc-daftar-banner-glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.sc-daftar-banner-glow::before, .sc-daftar-banner-glow::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(40px); opacity: .45;
}
.sc-daftar-banner-glow::before { width: 220px; height: 220px; background: var(--pub-amber); top: -80px; left: -40px; }
.sc-daftar-banner-glow::after { width: 260px; height: 260px; background: var(--sc-teal); bottom: -100px; right: -60px; }
.sc-daftar-banner-content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }

.sc-daftar-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .03em;
  padding: .45em 1em; border-radius: 999px; margin-bottom: 16px;
}
.sc-daftar-dot { width: 8px; height: 8px; border-radius: 50%; background: #3CE0B0; box-shadow: 0 0 0 0 rgba(60,224,176,.6); }

.sc-daftar-banner h3 {
  font-family: var(--pub-font-display);
  color: #fff; font-weight: 700; font-size: clamp(1.35rem, 3vw, 1.9rem);
  margin-bottom: 10px; line-height: 1.3;
}
.sc-daftar-banner p { color: rgba(255,255,255,.75); margin-bottom: 24px; font-size: 1rem; }

.sc-daftar-cta {
  position: relative; overflow: hidden;
  background: var(--pub-amber); color: #1B1F5C; font-weight: 700;
  border: none; padding: .75em 2em; border-radius: 999px;
  box-shadow: 0 10px 26px rgba(245,166,35,.4);
}
.sc-daftar-cta:hover { color: #1B1F5C; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(245,166,35,.5); }

@media (prefers-reduced-motion: no-preference) {
  .sc-daftar-dot { animation: scDaftarPulse 1.8s ease-in-out infinite; }
  @keyframes scDaftarPulse {
    0% { box-shadow: 0 0 0 0 rgba(60,224,176,.6); }
    70% { box-shadow: 0 0 0 8px rgba(60,224,176,0); }
    100% { box-shadow: 0 0 0 0 rgba(60,224,176,0); }
  }
  .sc-daftar-banner-glow::before { animation: scDaftarFloat1 9s ease-in-out infinite; }
  .sc-daftar-banner-glow::after { animation: scDaftarFloat2 11s ease-in-out infinite; }
  @keyframes scDaftarFloat1 { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(20px, 16px); } }
  @keyframes scDaftarFloat2 { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(-16px, -14px); } }
  .sc-daftar-cta::after {
    content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
    animation: scShine 3s ease-in-out infinite;
  }
  .sc-daftar-banner { transition: transform .2s ease; }
  .sc-daftar-banner:hover { transform: translateY(-3px); }
}

@media (max-width: 575.98px) {
  .sc-daftar-banner { padding: 32px 20px; border-radius: 18px; }
}

/* ---------- Halaman Daftar: langkah pendaftaran & sidebar keuntungan ---------- */
.sc-daftar-steps { list-style: none; padding: 0; margin: 0; }
.sc-daftar-steps li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--sc-border);
}
.sc-daftar-steps li:last-child { border-bottom: none; }
.sc-daftar-steps .sc-daftar-step-num {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--sc-indigo-light), var(--sc-indigo));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--pub-font-mono); font-weight: 700; font-size: .9rem;
}
.sc-daftar-steps h6 { margin-bottom: 2px; font-weight: 700; }
.sc-daftar-steps p { margin: 0; color: var(--sc-text-muted); font-size: .85rem; }

.sc-daftar-sidebar {
  background: linear-gradient(160deg, var(--sc-navy) 0%, #10133F 100%);
  border-radius: 20px; color: #fff; padding: 30px 26px; position: relative; overflow: hidden;
}
.sc-daftar-sidebar::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 20% 10%, black, transparent 75%);
}
.sc-daftar-sidebar > * { position: relative; z-index: 1; }
.sc-daftar-sidebar .sc-eyebrow.on-dark { margin-bottom: 14px; }
.sc-daftar-sidebar h4 { font-family: var(--pub-font-display); margin-bottom: 10px; }
.sc-daftar-sidebar p.lede { color: rgba(255,255,255,.75); font-size: .92rem; margin-bottom: 22px; }

.sc-daftar-form-card {
  border-radius: 20px; overflow: hidden;
}
.sc-daftar-form-card .sc-feature-tab { font-weight: 600; }

@media (max-width: 991.98px) {
  .sc-daftar-sidebar { margin-bottom: 24px; }
}
