/* ============================================================
   Nusa Cipta — Portal Korporat
   Faithful static implementation of Nusa Cipta Homepage.dc.html
   ============================================================ */

:root {
  --teal: #0b6b73;
  --teal-dark: #084b51;
  --ink: #182b2e;
  --ink-strong: #122427;
  --footer-bg: #0e2427;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }
::selection { background: #cfe7e8; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.serif { font-family: 'Spectral', serif; }
.mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; }

.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
}

.section-title {
  font-family: 'Spectral', serif;
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #132528;
  margin: 10px 0 8px;
}

.section-sub {
  font-size: 16px;
  line-height: 1.6;
  color: #54656a;
  margin: 0;
}

.link-arrow { font-weight: 600; font-size: 14.5px; color: var(--teal); white-space: nowrap; }

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background .25s, box-shadow .25s, backdrop-filter .25s, border-color .25s;
  background: #ffffff;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid #e6ecec;
  box-shadow: 0 6px 24px -18px rgba(18, 42, 44, 0.5);
}
.header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand .nc-mark { --mark: 40px; }
.brand__name {
  font-family: 'Spectral', serif;
  font-weight: 700; font-size: 20px; color: #132528; letter-spacing: -0.015em;
  line-height: 1;
}
.nav { display: flex; align-items: center; gap: 28px; margin-left: 16px; flex-wrap: wrap; }
.nav a { font-size: 14.5px; font-weight: 500; color: #37484b; }
.nav a:hover { color: var(--teal); }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.langtoggle {
  display: inline-flex; align-items: center; gap: 2px;
  border: 1px solid #d5dede; background: #fff; border-radius: 8px;
  padding: 5px 4px; cursor: pointer; font-family: inherit;
}
.langtoggle span {
  font-size: 13px; font-weight: 700; padding: 2px 6px; border-radius: 5px;
  color: #8a9a9c; transition: background .15s, color .15s;
}
.langtoggle span.on { background: var(--teal); color: #fff; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit; font-weight: 600; cursor: pointer;
  border-radius: 10px; border: none; transition: background .15s, box-shadow .15s;
}
.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--teal-dark); color: #fff; }
.btn--ghost { background: #fff; color: var(--teal); border: 1.5px solid #cadddd; }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn--sm { font-size: 14px; padding: 10px 18px; border-radius: 9px; box-shadow: 0 1px 2px rgba(11,107,115,0.25); }
.btn--lg { font-size: 15px; padding: 13px 24px; }

/* ============ HERO ============ */
.hero { position: relative; background: linear-gradient(180deg, #f4f8f8 0%, #ffffff 100%); overflow: hidden; }
.hero__blob-a {
  position: absolute; top: -120px; right: -80px; width: 420px; height: 420px;
  border-radius: 50%; background: radial-gradient(circle, rgba(11,107,115,0.10), transparent 70%);
}
.hero__blob-b {
  position: absolute; top: 120px; right: 180px; width: 120px; height: 120px;
  border: 1.5px solid rgba(11,107,115,0.16); transform: rotate(45deg);
}
.hero__blob-c {
  position: absolute; bottom: -60px; left: -40px; width: 260px; height: 260px;
  border-radius: 50%; background: radial-gradient(circle, rgba(183,110,59,0.07), transparent 70%);
}
.hero__inner { position: relative; max-width: var(--max); margin: 0 auto; padding: 88px 24px 76px; }
.hero__content { max-width: 780px; }
.hero h1 {
  font-family: 'Spectral', serif; font-weight: 700;
  font-size: clamp(38px, 5.4vw, 62px); line-height: 1.06; letter-spacing: -0.02em;
  color: var(--ink-strong); margin: 0 0 22px; text-wrap: balance;
}
.hero__sub {
  font-size: 18.5px; line-height: 1.6; color: #4a5b5e;
  margin: 0 0 34px; max-width: 640px; text-wrap: pretty;
}
.searchbar {
  background: #fff; border: 1px solid #dbe5e5; border-radius: 14px; padding: 8px;
  display: flex; align-items: center; gap: 8px; max-width: 640px;
  box-shadow: 0 8px 28px -14px rgba(18,42,44,0.22);
}
.searchbar__icon { padding-left: 12px; display: flex; color: #8a9a9c; }
.searchbar input {
  flex: 1; border: none; outline: none; font-family: inherit; font-size: 15.5px;
  color: var(--ink); background: transparent; padding: 10px 4px; min-width: 0;
}
.searchbar button { font-size: 14.5px; padding: 12px 22px; border-radius: 9px; flex-shrink: 0; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; align-items: center; }
.hero__hint { font-size: 13.5px; color: #7a8a8c; margin-left: 4px; }

/* ============ TRUST BAR ============ */
.trustbar { border-top: 1px solid #eef2f2; border-bottom: 1px solid #eef2f2; background: #fbfcfc; }
.trustbar__inner {
  max-width: var(--max); margin: 0 auto; padding: 26px 24px;
  display: flex; align-items: center; gap: 36px; flex-wrap: wrap; justify-content: center;
}
.trustbar__label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: #93a2a3;
}
.trustbar__logos {
  display: flex; align-items: center; gap: 30px; flex-wrap: wrap;
  justify-content: center; filter: grayscale(1); opacity: 0.72;
}
.trustbar__logos span {
  font-family: 'Spectral', serif; font-weight: 600; font-size: 19px;
  color: #3d4e51; letter-spacing: -0.01em;
}
.trustbar__target { font-size: 12.5px; color: #93a2a3; font-style: italic; }

/* ============ SECTION SCAFFOLD ============ */
.section { max-width: var(--max); margin: 0 auto; padding: 84px 24px; }
.section--anchor { scroll-margin-top: 88px; }
.section-band { background: #f7faf9; border-top: 1px solid #eef2f2; }
.section-band .section { padding-top: 80px; padding-bottom: 80px; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 28px;
}
.section-head__text { max-width: 560px; }

/* ============ JOURNAL DIRECTORY ============ */
#jurnal { padding-bottom: 20px; }
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.tab {
  font-family: inherit; font-size: 13.5px; font-weight: 600;
  padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: all .15s;
  background: #fff; color: #4a5b5e; border: 1px solid #dbe5e5;
}
.tab:hover { border-color: #cadddd; }
.tab.active { background: var(--teal); color: #fff; border: 1px solid var(--teal); }

.journal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.jcard {
  display: flex; flex-direction: column;
  border: 1px solid #e6ecec; border-radius: 16px; overflow: hidden; background: #fff;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.jcard:hover {
  box-shadow: 0 18px 40px -22px rgba(18,42,44,0.35);
  border-color: #cadddd; transform: translateY(-3px);
}
.jcard__cover {
  position: relative; height: 150px; display: flex; align-items: flex-end; padding: 14px;
}
.jcard__sinta {
  position: absolute; top: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: 5px;
  color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: 0.03em;
  padding: 5px 10px; border-radius: 999px; box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}
.jcard__abbr {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 10.5px;
  letter-spacing: 0.08em; color: rgba(255,255,255,0.9);
  background: rgba(18,42,44,0.35); padding: 3px 8px; border-radius: 5px;
}
.jcard__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.jcard__field {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 8px;
}
.jcard h3 {
  font-family: 'Spectral', serif; font-weight: 600; font-size: 19px; line-height: 1.25;
  color: #152a2d; margin: 0 0 8px;
}
.jcard__scope { font-size: 13.5px; line-height: 1.55; color: #5c6d70; margin: 0 0 14px; flex: 1; }
.jcard__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-top: 14px; border-top: 1px solid #eef2f2;
}
.jcard__issn { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; color: #7a8a8c; }
.jcard__visit { font-weight: 600; font-size: 13.5px; color: var(--teal); white-space: nowrap; }

/* ============ ARTICLES ============ */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 18px; }
.acard {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid #e6ecec; border-radius: 14px; padding: 22px 24px;
  transition: box-shadow .2s, border-color .2s;
}
.acard:hover { box-shadow: 0 14px 34px -20px rgba(18,42,44,0.3); border-color: #cadddd; }
.acard__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.acard__journal {
  font-size: 11.5px; font-weight: 600; color: var(--teal);
  background: #e8f2f2; padding: 4px 10px; border-radius: 6px;
}
.acard__doi {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 11px; color: #93a2a3;
  border: 1px solid #e0e7e7; padding: 3px 8px; border-radius: 5px;
}
.acard h3 {
  font-family: 'Spectral', serif; font-weight: 600; font-size: 18.5px; line-height: 1.3;
  color: #152a2d; margin: 0 0 12px; text-wrap: pretty;
}
.acard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.acard__authors { font-size: 13px; color: #5c6d70; }
.acard__date { font-size: 12.5px; color: #93a2a3; white-space: nowrap; }

/* ============ STATS ============ */
.stats { background: var(--teal); color: #fff; }
.stats__inner {
  max-width: var(--max); margin: 0 auto; padding: 64px 24px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px;
}
.stat { text-align: center; padding: 8px; }
.stat__value {
  font-family: 'Spectral', serif; font-weight: 700;
  font-size: clamp(36px, 4.5vw, 52px); line-height: 1; letter-spacing: -0.02em;
}
.stat__label { font-size: 14px; color: #bfe0e2; margin-top: 10px; letter-spacing: 0.02em; }

/* ============ AUTHOR HUB ============ */
.author-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.author-head { max-width: 620px; margin: 0 0 44px; }
.pcard {
  border: 1px solid #e6ecec; border-radius: 16px; padding: 26px 24px; background: #fff;
  display: flex; flex-direction: column;
}
.pcard__num {
  width: 44px; height: 44px; border-radius: 11px; background: #e8f2f2; color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Spectral', serif; font-weight: 700; font-size: 20px; margin-bottom: 16px;
}
.pcard h3 { font-family: 'Spectral', serif; font-weight: 600; font-size: 18px; color: #152a2d; margin: 0 0 8px; }
.pcard p { font-size: 14px; line-height: 1.55; color: #5c6d70; margin: 0; }
.apc-note {
  margin-top: 36px; background: #f4f8f8; border: 1px solid #e0eaea; border-radius: 16px;
  padding: 28px 32px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.apc-note__text { display: flex; align-items: center; gap: 14px; }
.apc-note__text span { font-size: 22px; }
.apc-note__text p { font-size: 15px; line-height: 1.5; color: #37484b; margin: 0; max-width: 640px; }
.apc-note__text strong { color: var(--teal); }

/* ============ NEWS ============ */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.ncard {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid #e6ecec; border-radius: 16px; padding: 26px;
  transition: box-shadow .2s, border-color .2s;
}
.ncard:hover { box-shadow: 0 14px 34px -20px rgba(18,42,44,0.3); border-color: #cadddd; }
.ncard__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ncard__tag {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 6px;
}
.ncard__date { font-size: 12.5px; color: #93a2a3; }
.ncard h3 {
  font-family: 'Spectral', serif; font-weight: 600; font-size: 19px; line-height: 1.3;
  color: #152a2d; margin: 0 0 10px; text-wrap: pretty;
}
.ncard p { font-size: 14px; line-height: 1.55; color: #5c6d70; margin: 0; }

/* ============ ABOUT & ETHICS ============ */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 52px; align-items: start; }
.about h2 {
  font-family: 'Spectral', serif; font-weight: 700; font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.12; letter-spacing: -0.015em; color: #132528; margin: 12px 0 20px;
}
.about p { font-size: 16px; line-height: 1.7; color: #4a5b5e; margin: 0 0 18px; text-wrap: pretty; }
.about p strong { color: var(--teal); }
.about__links { display: flex; flex-wrap: wrap; gap: 12px; }
.pill-link {
  font-size: 14px; font-weight: 600; color: var(--teal);
  border: 1px solid #cadddd; border-radius: 8px; padding: 9px 16px;
}
.pill-link:hover { border-color: var(--teal); }
.cred {
  background: #fbfcfc; border: 1px solid #e6ecec; border-radius: 18px; padding: 30px 32px;
}
.cred h3 { font-family: 'Spectral', serif; font-weight: 600; font-size: 18px; color: #152a2d; margin: 0 0 20px; }
.cred__row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid #eef2f2; }
.cred__check {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 6px; background: #e8f2f2; color: var(--teal);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}
.cred__title { font-weight: 600; font-size: 14.5px; color: #1c2f32; }
.cred__desc { font-size: 13px; line-height: 1.5; color: #6a7a7c; margin-top: 2px; }

/* ============ FOOTER ============ */
.footer { background: var(--footer-bg); color: #c3d2d3; scroll-margin-top: 88px; }
.footer__inner { max-width: var(--max); margin: 0 auto; padding: 64px 24px 0; }
.footer__cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand { min-width: 220px; }
.footer__brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer__brand-row .nc-mark { --mark: 40px; }
.footer__brand-name { font-family: 'Spectral', serif; font-weight: 700; font-size: 20px; color: #fff; letter-spacing: -0.015em; }
.footer__brand p { font-size: 14px; line-height: 1.65; color: #9fb2b4; margin: 0 0 18px; max-width: 320px; }
.footer__contact { font-size: 13.5px; line-height: 1.7; color: #8ba1a3; margin: 0; }
.footer h4 {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #7f9799; margin: 0 0 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 11px; }
.footer__links a { font-size: 14px; color: #b9c9ca; }
.footer__links a:hover { color: #fff; }
.footer__bar {
  margin-top: 48px; padding: 24px 0; border-top: 1px solid #1f3b3e;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer__badges { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer__issn { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12.5px; color: #8ba1a3; }
.footer__cc {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: #8ba1a3;
  border: 1px solid #2a4649; border-radius: 6px; padding: 5px 10px;
}
.footer__socials { display: flex; align-items: center; gap: 12px; }
.footer__socials a {
  width: 34px; height: 34px; border-radius: 8px; border: 1px solid #2a4649;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #9fb2b4;
}
.footer__socials a:hover { color: #fff; border-color: #3d6266; }
.footer__copy { padding: 20px 0 30px; border-top: 1px solid #1f3b3e; font-size: 12.5px; color: #6f8789; }

@media (max-width: 820px) {
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
@media (max-width: 520px) {
  .footer__cols { grid-template-columns: 1fr; }
  .header__inner { gap: 12px; }
}
