/* =========================================================
   HALAMAN PUBLIK: Landing, Pilihan Akses, Login
   (memakai token warna dari app-modern.css)
   ========================================================= */
body.lp, body.auth { background: #FBFAFD; margin: 0; }
body.lp *, body.auth * { box-sizing: border-box; }
body.lp a, body.auth a { color: var(--c-primary); text-decoration: none; }
.lp-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-primary); background: var(--c-primary-50); border: 1px solid var(--c-primary-100); padding: 6px 12px; border-radius: 999px;
}
.lp-eyebrow.light { color: #F6D98E; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 12px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s, background .2s; cursor: pointer; font-family: var(--font);
}
.lp-btn:hover { transform: translateY(-2px); }
.lp-btn-primary { background: var(--c-primary); color: #fff !important; box-shadow: 0 12px 24px -10px rgba(91,42,134,.6); }
.lp-btn-primary:hover { background: var(--c-primary-600); }
.lp-btn-ghost { background: #fff; color: var(--c-text) !important; border-color: var(--c-border-strong); }
.lp-btn-ghost:hover { border-color: var(--c-primary-200); color: var(--c-primary) !important; }
.lp-btn-accent { background: var(--c-accent); color: var(--c-primary-900) !important; }

/* NAV */
.lp-nav { position: sticky; top: 0; z-index: 50; background: rgba(251,250,253,.8); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.lp-nav.scrolled { border-bottom-color: var(--c-border); background: rgba(255,255,255,.9); }
.lp-nav .lp-container { height: 72px; display: flex; align-items: center; gap: 24px; }
.lp-brand { display: flex; align-items: center; gap: 12px; color: var(--c-text) !important; }
.lp-brand img { width: 42px; height: 42px; object-fit: contain; }
.lp-brand b { display: block; font-size: 15.5px; letter-spacing: -0.01em; }
.lp-brand small { display: block; color: var(--c-subtle); font-size: 11.5px; font-weight: 600; }
.lp-links { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.lp-links a { padding: 8px 14px; border-radius: 10px; color: var(--c-muted) !important; font-weight: 600; font-size: 14px; }
.lp-links a:hover { color: var(--c-primary) !important; background: var(--c-primary-50); }
.lp-links .lp-btn { padding: 10px 18px; font-size: 14px; margin-left: 6px; }

/* HERO */
.lp-hero { position: relative; overflow: hidden; padding: 64px 0 80px; }
.lp-hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(91,42,134,.16), transparent 65%); pointer-events: none;
}
.lp-hero::after {
  content: ""; position: absolute; left: -200px; bottom: -260px; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224,165,38,.14), transparent 65%); pointer-events: none;
}
.lp-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.lp-hero h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 800; margin: 20px 0 18px; color: var(--c-text); }
.lp-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--c-primary), #9B5BD0); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Revisi final: judul utama huruf kapital, tegas & mudah dibaca */
.lp-hero h1.lp-title { font-size: clamp(30px, 3.7vw, 50px); line-height: 1.1; letter-spacing: -0.015em; font-weight: 800; max-width: 620px; text-wrap: balance; }
.lp-hero p.lead { font-size: 17.5px; color: var(--c-muted); max-width: 560px; line-height: 1.65; margin: 0 0 28px; }
.lp-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.lp-trust { display: flex; gap: 28px; margin-top: 38px; flex-wrap: wrap; }
.lp-trust div b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; color: var(--c-text); font-variant-numeric: tabular-nums; }
.lp-trust div span { color: var(--c-subtle); font-size: 13px; font-weight: 600; }

/* Hero visual */
.lp-visual { position: relative; min-height: 440px; }
.lp-board {
  position: absolute; inset: 20px 0 30px 30px; background: #fff; border-radius: 24px; border: 1px solid var(--c-border);
  box-shadow: 0 40px 80px -30px rgba(36,16,58,.35), 0 8px 20px rgba(22,24,39,.06); padding: 22px; overflow: hidden;
}
.lp-board-top { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.lp-board-top i { width: 10px; height: 10px; border-radius: 50%; background: #E5E7EF; display: inline-block; }
.lp-board-top span { margin-left: auto; font-size: 12px; color: var(--c-subtle); font-weight: 700; }
.lp-board-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.lp-board-tile { border: 1px solid var(--c-border); border-radius: 14px; padding: 12px; }
.lp-board-tile .bar { height: 8px; border-radius: 8px; background: var(--c-primary-100); margin-top: 10px; }
.lp-board-tile .bar.s { width: 60%; } .lp-board-tile .bar.m { width: 80%; }
.lp-board-tile small { font-size: 11px; color: var(--c-subtle); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.lp-board-tile .ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--c-primary-50); color: var(--c-primary); margin-bottom: 8px; }
.lp-board-tile:nth-child(2) .ico { background: var(--c-accent-50); color: var(--c-accent-600); }
.lp-board-tile:nth-child(3) .ico { background: #E6F7F5; color: #0E8577; }
.lp-chart { display: flex; align-items: flex-end; gap: 10px; height: 170px; padding: 14px; border: 1px solid var(--c-border); border-radius: 14px; background: linear-gradient(180deg, #fff, var(--c-surface-2)); }
.lp-chart span { flex: 1; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #8B5CC0, var(--c-primary)); animation: lpGrow 1.2s var(--ease) both; transform-origin: bottom; }
.lp-chart span:nth-child(3n) { background: linear-gradient(180deg, #F3C661, var(--c-accent)); }
.lp-chart span:nth-child(1) { height: 42%; animation-delay: .05s } .lp-chart span:nth-child(2) { height: 66%; animation-delay: .1s }
.lp-chart span:nth-child(3) { height: 50%; animation-delay: .15s } .lp-chart span:nth-child(4) { height: 80%; animation-delay: .2s }
.lp-chart span:nth-child(5) { height: 58%; animation-delay: .25s } .lp-chart span:nth-child(6) { height: 90%; animation-delay: .3s }
.lp-chart span:nth-child(7) { height: 70%; animation-delay: .35s } .lp-chart span:nth-child(8) { height: 48%; animation-delay: .4s }
@keyframes lpGrow { from { transform: scaleY(.1); opacity: .2; } to { transform: none; opacity: 1; } }
.lp-float {
  position: absolute; background: #fff; border: 1px solid var(--c-border); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 12px 14px; display: flex; gap: 12px; align-items: center; font-size: 13px; animation: lpFloat 6s ease-in-out infinite;
}
.lp-float b { display: block; font-size: 14px; }
.lp-float small { color: var(--c-subtle); }
.lp-float .ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: var(--c-primary); font-size: 16px; }
.lp-float.f1 { left: -6px; bottom: 6px; }
.lp-float.f2 { right: -12px; top: 0; animation-delay: -3s; }
.lp-float.f2 .ico { background: var(--c-accent); color: var(--c-primary-900); }
@keyframes lpFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* SECTIONS */
.lp-section { padding: 84px 0; }
.lp-section.alt { background: #fff; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.lp-section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.lp-section-head h2 { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -0.03em; font-weight: 800; margin: 16px 0 12px; line-height: 1.15; }
.lp-section-head p { color: var(--c-muted); font-size: 16px; margin: 0; }
.lp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-feature {
  background: #fff; border: 1px solid var(--c-border); border-radius: 20px; padding: 26px; transition: all .25s var(--ease); position: relative; overflow: hidden;
}
.lp-section.alt .lp-feature { background: var(--c-surface-2); }
.lp-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--c-primary-200); }
.lp-feature .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; background: var(--c-primary-50); color: var(--c-primary); margin-bottom: 18px; }
.lp-feature.gold .ico { background: var(--c-accent-50); color: var(--c-accent-600); }
.lp-feature.teal .ico { background: #E6F7F5; color: #0E8577; }
.lp-feature h3 { font-size: 18px; margin: 0 0 8px; font-weight: 750; letter-spacing: -0.01em; }
.lp-feature p { color: var(--c-muted); margin: 0 0 14px; font-size: 14.5px; line-height: 1.6; }
.lp-feature ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.lp-feature li { font-size: 13.5px; color: var(--c-text); display: flex; gap: 8px; }
.lp-feature li .fa { color: var(--c-success); margin-top: 3px; }
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.lp-step { padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--c-border); position: relative; }
.lp-step::before {
  counter-increment: step; content: "0" counter(step); font-size: 13px; font-weight: 800; color: var(--c-primary);
  background: var(--c-primary-50); border-radius: 10px; padding: 6px 10px; display: inline-block; margin-bottom: 14px;
}
.lp-step h3 { font-size: 17px; margin: 0 0 6px; }
.lp-step p { margin: 0; color: var(--c-muted); font-size: 14px; }
.lp-band {
  border-radius: 28px; padding: 44px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: radial-gradient(80% 160% at 100% 0%, rgba(224,165,38,.35), transparent 55%), linear-gradient(120deg, #3F1C5F, #5B2A86 60%, #6E3A9E);
  box-shadow: var(--shadow-lg);
}
.lp-band h2 { color: #fff; margin: 0 0 8px; font-size: 28px; letter-spacing: -0.02em; }
.lp-band p { margin: 0; color: rgba(255,255,255,.8); }
.lp-footer { padding: 32px 0; color: var(--c-subtle); font-size: 13px; }
.lp-footer .lp-container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* PILIHAN AKSES */
.pa-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.pa-main { flex: 1; padding: 40px 0 64px; position: relative; overflow: hidden; }
.pa-main::before { content: ""; position: absolute; top: -260px; right: -200px; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(91,42,134,.13), transparent 65%); }
.pa-head { text-align: center; max-width: 640px; margin: 0 auto 36px; position: relative; }
.pa-head h1 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.03em; font-weight: 800; margin: 16px 0 10px; }
.pa-head p { color: var(--c-muted); font-size: 16px; margin: 0; }
.pa-grid { position: relative; display: grid; grid-template-columns: 1.15fr 2fr; gap: 20px; align-items: stretch; }
.pa-card {
  position: relative; display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--c-border); border-radius: 22px; padding: 24px;
  color: var(--c-text) !important; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; outline: none;
}
.pa-card:hover, .pa-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--c-primary-200); }
.pa-card:focus-visible { box-shadow: var(--ring), var(--shadow-md); }
.pa-card .ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 22px; background: var(--c-primary-50); color: var(--c-primary); transition: transform .25s var(--ease); }
.pa-card:hover .ico { transform: scale(1.06) rotate(-3deg); }
.pa-card h3 { margin: 0; font-size: 18px; letter-spacing: -0.01em; }
.pa-card p { margin: 0; color: var(--c-muted); font-size: 14px; line-height: 1.55; }
.pa-card .go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--c-primary); font-size: 14px; }
.pa-card .go .fa { transition: transform .2s; }
.pa-card:hover .go .fa { transform: translateX(4px); }
.pa-card .tag-login { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: #F1F2F6; color: var(--c-muted); }
.pa-card.featured {
  color: #fff !important; border: 0; justify-content: flex-start;
  background: radial-gradient(90% 120% at 100% 0%, rgba(224,165,38,.38), transparent 55%), linear-gradient(140deg, #3F1C5F, #5B2A86 60%, #7140A3);
  box-shadow: var(--shadow-md);
}
.pa-card.featured .ico { background: rgba(255,255,255,.14); color: #F6D98E; }
.pa-card.featured h3 { color: #fff; font-size: 24px; }
.pa-card.featured p { color: rgba(255,255,255,.82); font-size: 15px; }
.pa-card.featured .go { color: #F6D98E; }
.pa-card.featured .tag-login { background: rgba(255,255,255,.16); color: #fff; }
.pa-card.featured ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; font-size: 14px; color: rgba(255,255,255,.9); }
.pa-card.featured li .fa { color: #F6D98E; width: 18px; }
.pa-staff { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pa-card.gold .ico { background: var(--c-accent-50); color: var(--c-accent-600); }
.pa-card.teal .ico { background: #E6F7F5; color: #0E8577; }
.pa-card.slate .ico { background: #F1F2F6; color: #4B5263; }
.pa-grid.pa-grid-2 { grid-template-columns: 1fr 1fr; max-width: 980px; margin: 0 auto; }
.pa-card.admin { border: 1px solid var(--c-border); }
.pa-card.admin .ico { background: var(--c-accent-50); color: var(--c-accent-600); }
.pa-card.admin h3 { font-size: 24px; }
.pa-list { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; font-size: 14px; color: var(--c-muted); }
.pa-list li .fa { color: var(--c-primary); width: 18px; }
.pa-roles { list-style: none; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pa-roles li { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 12px; background: var(--c-surface-2); border: 1px solid var(--c-border); font-weight: 700; font-size: 14px; }
.pa-roles li .fa { color: var(--c-primary); margin-bottom: 4px; }
.pa-roles li small { color: var(--c-subtle); font-weight: 600; font-size: 12px; }
@media (max-width: 991px) { .pa-grid.pa-grid-2 { grid-template-columns: 1fr; } }
.pa-note { text-align: center; color: var(--c-subtle); font-size: 13px; margin-top: 28px; position: relative; }

/* LOGIN */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-art {
  position: relative; overflow: hidden; color: #fff; padding: 40px;
  background: radial-gradient(70% 60% at 100% 0%, rgba(224,165,38,.32), transparent 60%), linear-gradient(150deg, #24103A 0%, #3F1C5F 45%, #5B2A86 100%);
}
.auth-art::after { content: ""; position: absolute; right: -140px; bottom: -140px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.05); }
.auth-art-inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; max-width: 520px; }
.auth-brand { display: flex; align-items: center; gap: 12px; color: #fff !important; }
.auth-brand img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 12px; padding: 5px; }
.auth-brand b { display: block; font-size: 16px; }
.auth-brand small { color: rgba(255,255,255,.65); font-size: 12px; }
.auth-art-copy { margin-top: auto; margin-bottom: 28px; }
.auth-art-copy h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; letter-spacing: -0.03em; color: #fff; margin: 18px 0 12px; font-weight: 800; }
.auth-art-copy p { color: rgba(255,255,255,.78); font-size: 15.5px; margin: 0; }
.auth-art-cards { display: grid; gap: 10px; margin-bottom: 10px; }
.auth-mini { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.auth-mini .fa { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #F6D98E; font-size: 15px; }
.auth-mini b { display: block; font-size: 14px; }
.auth-mini small { color: rgba(255,255,255,.65); font-size: 12px; }
.auth-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-back { display: inline-flex; gap: 8px; align-items: center; color: var(--c-muted) !important; font-weight: 600; font-size: 13.5px; margin-bottom: 28px; }
.auth-back:hover { color: var(--c-primary) !important; }
.auth-role { display: inline-flex; gap: 8px; align-items: center; font-size: 12.5px; font-weight: 700; color: var(--c-primary); background: var(--c-primary-50); border: 1px solid var(--c-primary-100); padding: 6px 12px; border-radius: 999px; }
.auth-head h1 { font-size: 30px; letter-spacing: -0.03em; margin: 16px 0 6px; font-weight: 800; }
.auth-head p { color: var(--c-muted); margin: 0 0 22px; }
.auth-role-list { display: flex; flex-wrap: wrap; gap: 6px; margin: -10px 0 20px; }
.auth-role-list span { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #F1F2F6; color: var(--c-muted); }
.auth-errors .alert { border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; background: var(--c-danger-bg); color: var(--c-danger); border: 1px solid #FECDCA; font-weight: 600; font-size: 13.5px; }
.auth-errors .alert .close { display: none; }
.auth-form { display: grid; gap: 16px; }
.auth-field > span { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 7px; }
.auth-input { position: relative; display: flex; align-items: center; }
.auth-input > .fa { position: absolute; left: 14px; color: var(--c-subtle); }
.auth-input input {
  width: 100%; height: 48px; border: 1px solid var(--c-border-strong); border-radius: 12px; padding: 0 44px 0 42px; font-size: 15px; font-family: var(--font);
  background: #fff; transition: border-color .2s, box-shadow .2s; color: var(--c-text);
}
.auth-input input:focus { border-color: var(--c-primary); box-shadow: var(--ring); outline: none; }
.auth-eye { position: absolute; right: 8px; width: 34px; height: 34px; border: 0; background: transparent; color: var(--c-subtle); border-radius: 8px; cursor: pointer; }
.auth-eye:hover { background: var(--c-primary-50); color: var(--c-primary); }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.auth-check { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; font-weight: 600; }
.auth-check input { width: 16px; height: 16px; accent-color: var(--c-primary); }
.auth-hint { color: var(--c-subtle); }
.auth-submit {
  height: 50px; border: 0; border-radius: 12px; background: var(--c-primary); color: #fff; font-weight: 700; font-size: 15px; font-family: var(--font);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; box-shadow: 0 12px 24px -10px rgba(91,42,134,.6);
  transition: background .2s, transform .15s;
}
.auth-submit:hover { background: var(--c-primary-600); }
.auth-submit:active { transform: translateY(1px); }
.auth-foot { margin-top: 24px; padding: 14px; border-radius: 12px; background: var(--c-surface-2); border: 1px solid var(--c-border); color: var(--c-muted); font-size: 13.5px; }
.auth-foot a { font-weight: 700; }
.auth-copy { color: var(--c-subtle); font-size: 12.5px; margin-top: 28px; }

/* HALAMAN INFO / ERROR */
.info-main { min-height: calc(100vh - 72px); display: grid; place-items: center; padding: 40px 20px; }
.info-card { max-width: 560px; text-align: center; background: #fff; border: 1px solid var(--c-border); border-radius: 24px; padding: 40px 32px; box-shadow: var(--shadow-md); }
.info-ico { width: 64px; height: 64px; border-radius: 20px; display: inline-grid; place-items: center; font-size: 26px; background: var(--c-primary-50); color: var(--c-primary); margin-bottom: 16px; }
.info-ico.danger { background: var(--c-danger-bg); color: var(--c-danger); }
.info-code { display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--c-subtle); }
.info-card h1 { font-size: 24px; letter-spacing: -0.02em; margin: 10px 0 10px; }
.info-card p { color: var(--c-muted); margin: 0 0 20px; }
.info-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* RESPONSIVE */
@media (max-width: 991px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .lp-visual { min-height: 380px; }
  .lp-features, .lp-steps { grid-template-columns: 1fr 1fr; }
  .lp-links a:not(.lp-btn) { display: none; }
  .pa-grid { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-art { display: none; }
}
@media (max-width: 640px) {
  .lp-container { padding: 0 18px; }
  .lp-hero { padding: 36px 0 56px; }
  .lp-features, .lp-steps, .pa-staff { grid-template-columns: 1fr; }
  .lp-section { padding: 56px 0; }
  .lp-band { padding: 28px; }
  .lp-board-row { grid-template-columns: 1fr 1fr; }
  .lp-board-row .lp-board-tile:nth-child(3) { display: none; }
  .lp-float.f2 { right: 0; }
  .lp-brand small { display: none; }
  .lp-brand b { font-size: 14px; }
  .lp-links .lp-btn { white-space: nowrap; padding: 9px 13px; font-size: 13px; }
  .lp-trust { gap: 18px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   REVISI FINAL - LOGO AN 3D BERANIMASI (landing page)
   Teknik: CSS 3D transform + perspective. Semua lapisan memakai
   logo asli sebagai mask, sehingga bentuk & proporsi tidak berubah.
   ========================================================= */
.an3d-wrap { display: grid; place-items: center; min-height: 440px; }
.an3d {
  --size: min(380px, 78vw); --depth: 1.6px; --tx: 0deg; --ty: 0deg;
  position: relative; width: var(--size); aspect-ratio: 1; perspective: 1100px;
}
.an3d-glow {
  position: absolute; inset: 6%; border-radius: 50%; z-index: 0;
  background: radial-gradient(closest-side, rgba(91,42,134,.20), rgba(224,165,38,.08) 55%, transparent 75%);
  filter: blur(6px);
}
/* interaksi kursor (diatur oleh JS lewat --tx / --ty) */
.an3d-tilt { position: absolute; inset: 0; z-index: 1; transform-style: preserve-3d; transform: rotateX(var(--tx)) rotateY(var(--ty)); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.an3d.is-hover .an3d-tilt { transition-duration: .12s; }
/* melayang + rotasi 3D ringan (tidak berputar 360 derajat) */
.an3d-float { position: absolute; inset: 0; transform-style: preserve-3d; animation: an3dFloat 7s ease-in-out infinite; }
.an3d-obj { position: absolute; inset: 8%; transform-style: preserve-3d; }
.an3d-obj > span {
  position: absolute; inset: 0; display: block;
  -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat;
}
/* kedalaman (extrusion): tumpukan lapisan di belakang permukaan */
.an3d-depth { transform: translateZ(calc(var(--i) * var(--depth) * -1)); background: linear-gradient(160deg, #2a2a31, #050507); filter: brightness(calc(1 - var(--i) * .035)); }
/* bevel halus: tepi terang (kiri-atas) & gelap (kanan-bawah) */
.an3d-rim-light { transform: translate3d(-1.2px, -1.2px, .3px); background: linear-gradient(135deg, #9a9aa6, #3a3a42 60%); }
.an3d-rim-dark  { transform: translate3d(1.2px, 1.4px, .2px); background: #000; }
/* permukaan depan: hitam metalik */
.an3d-face {
  transform: translateZ(.6px);
  background:
    linear-gradient(155deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 28%),
    linear-gradient(200deg, #3b3b43 0%, #141418 32%, #050506 55%, #24242a 78%, #0b0b0e 100%);
}
/* pantulan cahaya yang bergerak */
.an3d-shine {
  transform: translateZ(.9px); mix-blend-mode: screen;
  background: linear-gradient(112deg, transparent 38%, rgba(255,255,255,.08) 44%, rgba(255,255,255,.55) 50%, rgba(255,255,255,.08) 56%, transparent 62%);
  background-size: 260% 100%; background-repeat: no-repeat; animation: an3dShine 6.5s ease-in-out infinite;
}
.an3d-fallback { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
/* bayangan yang mengikuti gerak melayang */
.an3d-shadow {
  position: absolute; left: 22%; right: 22%; bottom: -2%; height: 9%; border-radius: 50%; z-index: 0;
  background: radial-gradient(closest-side, rgba(20,8,35,.38), rgba(20,8,35,0));
  animation: an3dShadow 7s ease-in-out infinite;
}
@keyframes an3dFloat {
  0%, 100% { transform: translateY(0) rotateX(7deg) rotateY(-11deg); }
  50%      { transform: translateY(-16px) rotateX(-5deg) rotateY(11deg); }
}
@keyframes an3dShadow {
  0%, 100% { transform: translateX(-3%) scale(1); opacity: .95; }
  50%      { transform: translateX(3%) scale(.8); opacity: .55; }
}
@keyframes an3dShine {
  0%   { background-position: 135% 0; }
  55%  { background-position: -35% 0; }
  100% { background-position: -35% 0; }
}
/* browser tanpa dukungan mask: tampilkan logo asli biasa */
@supports not ((-webkit-mask-image: url("x.png")) or (mask-image: url("x.png"))) {
  .an3d-obj > span { display: none; }
  .an3d-fallback { display: block; }
}
@media (max-width: 991px) { .an3d-wrap { min-height: 0; padding: 10px 0 24px; } .an3d { --size: min(320px, 72vw); } }
@media (max-width: 560px) { .an3d { --size: min(250px, 70vw); --depth: 1.3px; } }
@media (prefers-reduced-motion: reduce) {
  .an3d-float, .an3d-shadow, .an3d-shine { animation: none; }
  .an3d-float { transform: rotateX(5deg) rotateY(-8deg); }
  .an3d-tilt { transition: none; }
}
/* Revisi final: teks tombol 'Masuk Sistem' di navbar landing sebelumnya abu-abu di atas ungu (kontras rendah) */
.lp-links a.lp-btn-primary, .lp-links a.lp-btn-primary:hover { color: #fff !important; }

/* =========================================================
   HALAMAN PEMBUKA SATU LAYAR (revisi alur akses, Des 2026)
   - satu tombol "Masuk ke Sistem" -> Dashboard Mahasiswa
   - ikon gembok kecil tanpa tulisan -> login pengelola
   ========================================================= */
body.lp-satu-layar { min-height: 100vh; display: flex; flex-direction: column; }
body.lp-satu-layar .lp-hero { flex: 1; display: flex; align-items: center; padding: 40px 0 56px; }
body.lp-satu-layar .lp-hero > .lp-container { width: 100%; }
body.lp-satu-layar .lp-hero .lead { margin-bottom: 28px; }
.lp-btn.lp-btn-besar { height: 54px; padding: 0 30px; font-size: 16px; }
.lp-catatan { margin: 16px 0 0; font-size: 13.5px; color: var(--c-muted); display: flex; gap: 8px; align-items: center; }
.lp-links a.lp-kunci { display: grid !important; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 12px;
  color: var(--c-subtle) !important; border: 1px solid transparent; font-size: 16px; transition: color .2s, background .2s, border-color .2s; }
.lp-links a.lp-kunci:hover, .lp-links a.lp-kunci:focus-visible { color: var(--c-primary) !important; background: var(--c-primary-50); border-color: var(--c-border); }
.lp-links a.lp-kunci:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
@media (max-width: 991px) {
  body.lp-satu-layar .lp-hero { align-items: flex-start; padding: 24px 0 36px; }
  body.lp-satu-layar .lp-hero-grid { gap: 8px; }
  body.lp-satu-layar .an3d-wrap { order: -1; padding: 0 0 4px; }
  body.lp-satu-layar .an3d { --size: min(180px, 46vw); }
}
@media (max-width: 640px) {
  body.lp-satu-layar .lp-title { font-size: 30px; }
  body.lp-satu-layar .lp-hero .lead { font-size: 15px; line-height: 1.6; }
  body.lp-satu-layar .lp-btn-besar { width: 100%; justify-content: center; }
}