/* ============================================================
   SENTRA HKI GLOBAL INSTITUTE — Portal CSS
   Premium Glassmorphism Design
   ============================================================ */

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

/* ---- CSS VARIABLES ---- */
:root {
  --primary:        #1e3a8a;
  --primary-dark:   #0f1f5c;
  --primary-light:  #2563eb;
  --accent:         #f59e0b;
  --accent-dark:    #d97706;
  --success:        #10b981;
  --danger:         #ef4444;
  --warning:        #f59e0b;
  --info:           #06b6d4;

  --text:           #1e293b;
  --text-muted:     #64748b;
  --text-light:     #94a3b8;
  --bg:             #f8fafc;
  --bg-card:        #ffffff;
  --border:         #e2e8f0;
  --border-dark:    #cbd5e1;

  --shadow:         0 4px 24px rgba(30,58,138,0.08);
  --shadow-lg:      0 8px 40px rgba(30,58,138,0.14);
  --shadow-xl:      0 20px 60px rgba(30,58,138,0.18);

  --radius:         12px;
  --radius-lg:      20px;
  --radius-full:    999px;

  --transition:     all 0.25s cubic-bezier(0.4,0,0.2,1);

  --font-body:      'Plus Jakarta Sans', sans-serif;
  --font-heading:   'Sora', sans-serif;

  --navbar-height:  70px;
  --container-max:  1200px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

/* ---- CONTAINER ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- TYPOGRAPHY ---- */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); line-height: 1.2; }
.text-muted  { color: var(--text-muted); }
.text-center { text-align: center; }
.fw-600      { font-weight: 600; }
.fw-700      { font-weight: 700; }
.fs-xs       { font-size: 0.78rem; }
.fs-sm       { font-size: 0.88rem; }
.mb-4        { margin-bottom: 4px; }
.mb-8        { margin-bottom: 8px; }
.mb-12       { margin-bottom: 12px; }
.mb-16       { margin-bottom: 16px; }
.mb-20       { margin-bottom: 20px; }
.mb-24       { margin-bottom: 24px; }
.mt-8        { margin-top: 8px; }
.mt-16       { margin-top: 16px; }
.mt-20       { margin-top: 20px; }
.mt-32       { margin-top: 32px; }
.mt-4        { margin-top: 4px; }
.d-flex      { display: flex; }
.align-center{ align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8       { gap: 8px; }
.gap-12      { gap: 12px; }
.gap-16      { gap: 16px; }
.flex-wrap   { flex-wrap: wrap; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary  { background: var(--primary-light); color: #fff; }
.btn-primary:hover { background: var(--primary); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,99,235,.35); }
.btn-secondary{ background: var(--border); color: var(--text); }
.btn-secondary:hover { background: var(--border-dark); }
.btn-accent   { background: linear-gradient(135deg, var(--accent), #f97316); color: #fff; }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,158,11,.4); }
.btn-outline  { border-color: var(--border-dark); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--primary-light); color: var(--primary-light); background: rgba(37,99,235,.05); }
.btn-white    { background: rgba(255,255,255,0.15); color: #fff; border-color: rgba(255,255,255,0.3); backdrop-filter: blur(8px); }
.btn-white:hover { background: rgba(255,255,255,0.25); transform: translateY(-2px); }
.btn-danger   { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #dc2626; }
.btn-lg   { padding: 14px 32px; font-size: 1rem; }
.btn-xl   { padding: 16px 40px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-sm   { padding: 7px 16px; font-size: 0.82rem; }
.btn-block{ display: flex; width: 100%; }

/* ---- BADGE ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-primary   { background: rgba(37,99,235,.12); color: var(--primary-light); }
.badge-success   { background: rgba(16,185,129,.12); color: var(--success); }
.badge-danger    { background: rgba(239,68,68,.12); color: var(--danger); }
.badge-warning   { background: rgba(245,158,11,.12); color: var(--accent-dark); }
.badge-info      { background: rgba(6,182,212,.12); color: var(--info); }
.badge-secondary { background: var(--border); color: var(--text-muted); }

/* ---- GRID HELPERS ---- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }

/* ---- SECTION ---- */
.section     { padding: 80px 0; }
.section-sm  { padding: 40px 0 80px; }
.section-alt { background: linear-gradient(180deg, #f1f5ff 0%, #f8fafc 100%); }
.section-dark{ background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); color: #fff; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-eyebrow{
  font-size: 0.78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary-light); margin-bottom: 10px;
}
.section-title { font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 800; margin-bottom: 14px; }
.section-desc  { font-size: 1.05rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.section-dark .section-desc { color: rgba(255,255,255,.75); }

/* ---- ANNOUNCEMENT BAR ---- */
.announcement-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1100;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 10px 20px; font-size: 0.85rem; font-weight: 600;
}
.announcement-bar.info    { background: var(--primary-light); color: #fff; }
.announcement-bar.warning { background: var(--accent); color: #fff; }
.announcement-bar.success { background: var(--success); color: #fff; }
.announcement-bar.danger  { background: var(--danger); color: #fff; }
.close-bar { background: none; border: none; color: inherit; opacity: .7; cursor: pointer; font-size: 16px; margin-left: 12px; }
.close-bar:hover { opacity: 1; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--navbar-height);
  display: flex; align-items: center;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  box-shadow: 0 2px 16px rgba(30,58,138,.06);
}
.navbar.has-bar { top: 40px; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.brand-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px;
}
.brand-text {
  font-family: var(--font-heading); font-weight: 700; font-size: 1rem; line-height: 1.2; color: var(--primary);
}
.brand-text span { display: block; font-size: 0.65rem; font-weight: 500; color: #e0832e; font-family: var(--font-body); letter-spacing: .03em; }
.brand-logo-img {
  width: 44px; height: 44px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
  flex-shrink: 0;
  transition: var(--transition);
}
.nav-brand:hover .brand-logo-img { transform: rotate(5deg) scale(1.05); }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px; border-radius: var(--radius); font-size: 0.875rem; font-weight: 600;
  color: var(--text-muted); transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary-light); background: rgba(37,99,235,.07); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; cursor: pointer; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: calc(var(--navbar-height) + 40px) 0 80px;
  background: linear-gradient(135deg, #0f1f5c 0%, #1e3a8a 50%, #1d4ed8 100%);
  position: relative; overflow: hidden;
}
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.25; pointer-events: none;
}
.hero-blob-1 {
  width: 600px; height: 600px; top: -200px; right: -100px;
  background: radial-gradient(circle, #60a5fa, #3b82f6);
  animation: float 8s ease-in-out infinite;
}
.hero-blob-2 {
  width: 400px; height: 400px; bottom: -100px; left: -50px;
  background: radial-gradient(circle, #a78bfa, #8b5cf6);
  animation: float 10s ease-in-out infinite reverse;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-30px)} }

.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.9);
  padding: 8px 16px; border-radius: var(--radius-full);
  font-size: 0.78rem; font-weight: 700; letter-spacing: .06em;
  border: 1px solid rgba(255,255,255,0.2); margin-bottom: 20px;
  backdrop-filter: blur(8px);
}
.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 800; color: #fff;
  line-height: 1.1; margin-bottom: 20px;
}
.hero-title .highlight {
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle { font-size: 1.05rem; color: rgba(255,255,255,.78); margin-bottom: 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stat-item { }
.hero-stat-number { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: #fff; }
.hero-stat-label  { font-size: 0.78rem; color: rgba(255,255,255,.65); font-weight: 500; }

/* Hero Visual */
.hero-visual { position: relative; }
.hero-card-main {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.hero-card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,.2), rgba(255,255,255,.05));
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  margin-bottom: 16px;
}
.hero-card-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; margin-bottom: 6px; }
.hero-card-desc  { font-size: 0.85rem; color: rgba(255,255,255,.7); margin-bottom: 20px; }
.hero-card-list  { display: flex; flex-direction: column; gap: 10px; }
.hero-card-list li {
  display: flex; align-items: center; gap: 10px; font-size: 0.88rem;
  padding: 8px 12px; border-radius: 8px; background: rgba(255,255,255,0.08);
}
.hero-card-list li i { color: #fde68a; width: 16px; }
.hero-floating {
  position: absolute;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: 0.8rem; font-weight: 700; color: var(--text);
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.hero-floating-1 { top: -20px; right: -20px; animation-delay: -2s; }
.hero-floating-2 { bottom: 20px; left: -30px; animation-delay: -4s; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); flex-shrink: 0; }

/* ---- JENIS HAKI GRID ---- */
.jenis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.jenis-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.jenis-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--card-color, var(--primary-light));
  opacity: 0; transition: var(--transition);
}
.jenis-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.jenis-card:hover::before { opacity: 1; }
.jenis-card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  margin-bottom: 16px; transition: var(--transition);
}
.jenis-card:hover .jenis-card-icon { transform: scale(1.1) rotate(-5deg); }
.jenis-card-title { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; margin-bottom: 8px; color: var(--text); }
.jenis-card-desc  { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.jenis-card-meta  { display: flex; align-items: center; justify-content: space-between; font-size: 0.78rem; color: var(--text-muted); }
.jenis-card-meta i { margin-right: 4px; }

/* ---- STATS ---- */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat-card {
  text-align: center; padding: 32px 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.stat-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-4px); }
.stat-card-icon { font-size: 28px; color: #fde68a; margin-bottom: 16px; }
.stat-number {
  font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800;
  color: #fff; margin-bottom: 6px;
}
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,.7); font-weight: 500; }

/* ---- STEPS ---- */
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; position: relative; }
.steps-grid::before {
  content: ''; position: absolute; top: 30px; left: 10%; right: 10%;
  height: 2px; background: linear-gradient(90deg, var(--primary-light), var(--accent));
  opacity: .3;
}
.step-item { text-align: center; position: relative; }
.step-number {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,99,235,.35);
  position: relative; z-index: 1;
}
.step-title { font-family: var(--font-heading); font-weight: 700; margin-bottom: 8px; }
.step-desc  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ---- ARTIKEL ---- */
.artikel-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.artikel-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition);
}
.artikel-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.artikel-card-body { padding: 20px; }
.artikel-kategori {
  font-size: 0.72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary-light); margin-bottom: 8px; display: inline-block;
}
.artikel-title { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; line-height: 1.4; margin-bottom: 10px; }
.artikel-title a:hover { color: var(--primary-light); }
.artikel-excerpt { font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.artikel-meta { display: flex; align-items: center; gap: 16px; font-size: 0.76rem; color: var(--text-light); }
.artikel-img  { overflow: hidden; }

/* ---- CTA ---- */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 24px; padding: 64px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.cta-title  { font-size: clamp(1.8rem,3vw,2.5rem); font-weight: 800; color: #fff; margin-bottom: 14px; }
.cta-desc   { color: rgba(255,255,255,.8); font-size: 1rem; margin-bottom: 32px; }
.cta-actions{ display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- FOOTER ---- */
.footer {
  background: var(--primary-dark); color: rgba(255,255,255,.85);
  padding: 64px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; }
.footer-brand .brand-name { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 1.05rem; font-weight: 700; }
.footer-desc { font-size: 0.84rem; line-height: 1.7; color: rgba(255,255,255,.6); margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center;
  font-size: 15px; transition: var(--transition);
}
.footer-social:hover { background: var(--primary-light); transform: translateY(-3px); }
.footer-col-title { font-family: var(--font-heading); font-weight: 700; font-size: 0.92rem; margin-bottom: 16px; color: #fff; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col li a {
  font-size: 0.84rem; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 8px;
}
.footer-col li a:hover { color: #fff; padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem; color: rgba(255,255,255,.5);
}

/* ---- FORMS ---- */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 6px; color: var(--text); }
.required { color: var(--danger); }
.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.form-control.border-danger { border-color: var(--danger); }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 80px; }
.form-error { color: var(--danger); font-size: 0.78rem; margin-top: 4px; display: flex; align-items: center; gap: 4px; }
.form-hint  { color: var(--text-muted); font-size: 0.78rem; margin-top: 4px; }
.separator  { border: none; border-top: 1px solid var(--border); margin: 20px 0; }

/* ---- ALERTS ---- */
.alert {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 18px; border-radius: var(--radius);
  font-size: 0.875rem; margin-bottom: 16px; position: relative;
}
.alert-success { background: rgba(16,185,129,.1); color: #065f46; border: 1px solid rgba(16,185,129,.2); }
.alert-danger  { background: rgba(239,68,68,.1); color: #991b1b; border: 1px solid rgba(239,68,68,.2); }
.alert-warning { background: rgba(245,158,11,.1); color: #92400e; border: 1px solid rgba(245,158,11,.2); }
.alert-info    { background: rgba(6,182,212,.1); color: #0e7490; border: 1px solid rgba(6,182,212,.2); }
.alert-close { background: none; border: none; cursor: pointer; margin-left: auto; opacity: .5; font-size: 14px; flex-shrink: 0; }
.alert-close:hover { opacity: 1; }

/* ---- CARD ---- */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.card-body { padding: 24px; }
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; border-bottom: 1px solid var(--border);
  font-weight: 700; font-size: 0.95rem;
}

/* ---- AUTH PAGE ---- */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex; align-items: center; justify-content: center;
  padding: 100px 20px 40px;
  position: relative;
}
.auth-page::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.auth-card {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 40px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
  position: relative; z-index: 1;
}
.auth-header { text-align: center; margin-bottom: 28px; }
.auth-logo {
  width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #fff; box-shadow: 0 8px 24px rgba(37,99,235,.35);
}
.auth-title    { font-size: 1.4rem; font-weight: 800; margin-bottom: 4px; }
.auth-subtitle { font-size: 0.85rem; color: var(--text-muted); }
.auth-footer   { text-align: center; margin-top: 20px; font-size: 0.85rem; color: var(--text-muted); }
.auth-footer a { color: var(--primary-light); font-weight: 600; }

/* ---- USER PAGES ---- */
.user-page { min-height: 100vh; }
.user-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 100px 0 24px; color: #fff;
}
.user-header-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.user-avatar {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; color: #fff;
  border: 2px solid rgba(255,255,255,.3);
}
.user-header-info h2 { font-size: 1.2rem; font-weight: 700; color: #fff; }
.user-header-info p  { font-size: 0.83rem; color: rgba(255,255,255,.7); margin-top: 2px; }
.user-header-actions { margin-left: auto; }
.btn-white-sm { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.user-content { padding: 32px 0 64px; }
.user-grid { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
.user-sidebar { display: flex; flex-direction: column; gap: 2px; }
.user-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--radius);
  font-size: 0.875rem; font-weight: 600; color: var(--text-muted);
  transition: var(--transition);
}
.user-nav-item:hover { background: var(--bg); color: var(--primary-light); }
.user-nav-item.active { background: rgba(37,99,235,.08); color: var(--primary-light); }
.user-nav-item i { width: 18px; text-align: center; }

/* ---- TABLE ---- */
.table-responsive { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.table th { padding: 12px 16px; background: var(--bg); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); border-bottom: 2px solid var(--border); text-align: left; }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tbody tr:hover { background: rgba(37,99,235,.02); }
.table tbody tr:last-child td { border-bottom: none; }

/* ---- PAGINATION ---- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; }
.page-btn {
  width: 38px; height: 38px; border-radius: var(--radius); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
  font-weight: 600; cursor: pointer; transition: var(--transition); color: var(--text-muted);
  text-decoration: none; background: #fff;
}
.page-btn:hover, .page-btn.active { background: var(--primary-light); border-color: var(--primary-light); color: #fff; }

/* ---- SEARCH ---- */
.search-section { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 28px; box-shadow: var(--shadow); }
.search-form { display: flex; gap: 10px; align-items: center; }
.search-input-wrap { position: relative; flex: 1; }
.search-input-wrap i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-light); font-size: 14px; }
.search-input { padding-left: 40px !important; }

/* ---- EMPTY STATE ---- */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state-icon { font-size: 48px; color: var(--border-dark); margin-bottom: 16px; }
.empty-state-title{ font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.empty-state-desc { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 20px; }

/* ---- TIMELINE ---- */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.tl-item, .timeline-item { position: relative; padding-bottom: 20px; }
.tl-dot, .timeline-dot {
  position: absolute; left: -28px; top: 3px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--border); border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--border);
}
.tl-item.active .tl-dot, .timeline-item.active .timeline-dot {
  background: var(--primary-light); box-shadow: 0 0 0 2px var(--primary-light);
}
.tl-item.done .tl-dot, .timeline-item.done .timeline-dot { background: var(--success); box-shadow: 0 0 0 2px var(--success); }
.tl-date, .timeline-date { font-size: 0.75rem; color: var(--text-light); margin-bottom: 4px; }
.tl-title, .timeline-title { font-weight: 700; font-size: 0.9rem; }
.tl-desc, .timeline-desc { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }

/* ---- BREADCRUMB ---- */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--text-muted); flex-wrap: wrap; margin-bottom: 12px; }
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb-sep { color: var(--border-dark); }

/* ---- PROFILE MINI ---- */
.profile-mini { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
.profile-mini-avatar {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.profile-mini-name { font-weight: 700; font-size: 0.9rem; }
.profile-mini-role { font-size: 0.75rem; color: var(--text-muted); }

/* ---- BACK TO TOP ---- */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--primary-light); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  box-shadow: 0 4px 16px rgba(37,99,235,.4);
  cursor: pointer; opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: var(--transition);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--primary); transform: translateY(-4px); }

/* ---- TOGGLE PASSWORD ---- */
.toggle-password:hover i { color: var(--primary-light) !important; }

/* ---- REVEAL ANIMATION ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }
.reveal-delay-6 { transition-delay: .6s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero-content    { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual     { display: none; }
  .jenis-grid      { grid-template-columns: repeat(2,1fr); }
  .stats-grid      { grid-template-columns: repeat(2,1fr); }
  .steps-grid      { grid-template-columns: repeat(2,1fr); }
  .artikel-grid    { grid-template-columns: repeat(2,1fr); }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
  .grid-4          { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .nav-menu        { display: none; flex-direction: column; position: absolute; top: var(--navbar-height); left: 0; right: 0; background: #fff; padding: 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); }
  .nav-menu.open   { display: flex; }
  .nav-hamburger   { display: flex; }
  .hero-title      { font-size: 2.2rem; }
  .hero-stats      { gap: 20px; }
  .jenis-grid      { grid-template-columns: 1fr; }
  .steps-grid      { grid-template-columns: 1fr 1fr; }
  .artikel-grid    { grid-template-columns: 1fr; }
  .auth-card       { padding: 28px 20px; }
  .user-grid       { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr; }
  .grid-2          { grid-template-columns: 1fr; }
  .cta-section     { padding: 40px 24px; }
  .steps-grid::before { display: none; }
}
@media (max-width: 480px) {
  .hero { padding-top: calc(var(--navbar-height) + 24px); padding-bottom: 48px; }
  .section { padding: 48px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .hero-actions .btn-xl { padding: 12px 24px; font-size: 0.95rem; }
}
