/* ═══════════════════════════════════════════════
   NasehatBapak Design System v2
   Blue × Yellow — SF Pro style typography
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Colors */
  --blue:    #1B5BE8;
  --blue2:   #1449C8;
  --blue3:   #0D3490;
  --bluebg:  #EBF1FD;
  --yellow:  #FFD600;
  --yellow2: #F5C800;
  --yellowbg:#FFFBE6;
  --ink:     #0A0D14;
  --ink2:    #1C2130;
  --gray:    #5C6478;
  --gray2:   #8C95AB;
  --line:    #E4E8F0;
  --white:   #FFFFFF;
  --surface: #F5F7FB;

  /* Typography */
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;

  /* Radius */
  --r:   12px;
  --rl:  18px;
  --rx:  24px;
  --pill: 100px;

  /* Shadows */
  --sh:    0 2px 12px rgba(27,91,232,.10);
  --sh2:   0 8px 32px rgba(27,91,232,.14);
  --sh3:   0 20px 60px rgba(27,91,232,.18);
  --shy:   0 4px 20px rgba(255,214,0,.35);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── TOPBAR ── */
.topbar {
  background: var(--ink);
  padding: .45rem 1.5rem;
  display: flex; align-items: center; justify-content: center;
  gap: .5rem;
  font-size: .72rem; font-weight: 500; color: rgba(255,255,255,.7);
  letter-spacing: .02em;
}
.topbar strong { color: var(--yellow); }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
  padding: 0 clamp(1rem, 5vw, 3rem);
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; font-weight: 800; font-size: 1.05rem;
  color: var(--ink); letter-spacing: -.02em;
}
.nav-logo-dot {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 900; color: var(--yellow);
  letter-spacing: -.03em; flex-shrink: 0;
}
.nav-links {
  display: flex; align-items: center; gap: .25rem; list-style: none;
}
.nav-links a {
  text-decoration: none; font-size: .82rem; font-weight: 600;
  color: var(--gray); padding: .4rem .75rem; border-radius: 8px;
  transition: color .15s, background .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: var(--bluebg); }
.nav-links a.active { font-weight: 700; }
.nav-wa {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--yellow); color: var(--ink);
  font-size: .8rem; font-weight: 800;
  padding: .45rem 1rem; border-radius: var(--pill);
  text-decoration: none; transition: transform .15s, box-shadow .15s;
  box-shadow: var(--shy);
  white-space: nowrap;
}
.nav-wa:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(255,214,0,.45); }
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.nav-burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ── MOBILE DRAWER ── */
.mobile-drawer {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(255,255,255,.98); backdrop-filter: blur(20px);
  flex-direction: column; padding: 5rem 2rem 2rem;
  gap: .5rem;
}
.mobile-drawer.open { display: flex; }
.drawer-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface); border: none; cursor: pointer;
  font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.mobile-drawer a {
  display: block; padding: .9rem 1.25rem; border-radius: var(--r);
  font-size: 1.05rem; font-weight: 700; color: var(--ink);
  text-decoration: none; border: 1px solid var(--line);
  transition: background .15s, color .15s;
}
.mobile-drawer a:hover, .mobile-drawer a.active {
  background: var(--blue); color: var(--white); border-color: var(--blue);
}
.mobile-drawer .m-wa {
  margin-top: .5rem; background: var(--yellow); color: var(--ink);
  border-color: var(--yellow); text-align: center; font-size: 1rem;
}

/* ── SECTION HELPERS ── */
.sec { padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 5vw, 3rem); }
.sec-inner { max-width: 1100px; margin: 0 auto; }
.sec-tag {
  display: inline-block; font-size: .68rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); background: var(--bluebg);
  padding: .3rem .85rem; border-radius: var(--pill); margin-bottom: .9rem;
}
.sec-tag.yellow { color: #8a6800; background: var(--yellowbg); }
.sec-h {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.1;
  color: var(--ink); margin-bottom: .7rem;
}
.sec-h em { font-style: normal; color: var(--blue); }
.sec-sub { font-size: .95rem; color: var(--gray); line-height: 1.7; max-width: 520px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font); font-weight: 700; font-size: .88rem;
  padding: .7rem 1.4rem; border-radius: var(--pill);
  text-decoration: none; cursor: pointer; border: none;
  transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-blue { background: var(--blue); color: var(--white); box-shadow: var(--sh); }
.btn-blue:hover { background: var(--blue2); box-shadow: var(--sh2); }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: var(--shy); }
.btn-yellow:hover { background: var(--yellow2); box-shadow: 0 8px 28px rgba(255,214,0,.45); }
.btn-white { background: var(--white); color: var(--blue); box-shadow: var(--sh); }
.btn-white:hover { box-shadow: var(--sh2); }
.btn-outline { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); box-shadow: none; }
.btn-outline:hover { background: var(--bluebg); }
.btn-ghost { background: rgba(255,255,255,.12); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-wa { background: #25D366; color: var(--white); }
.btn-wa:hover { background: #1ebe5d; }
.btn-lg { font-size: .95rem; padding: .85rem 1.8rem; }
.btn-sm { font-size: .78rem; padding: .5rem 1rem; }

/* ── CARDS ── */
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--rl); overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh2); }

/* ── FADE IN ── */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links, .nav-wa { display: none; }
  .nav-burger { display: flex; }
}
