/* ========== LANDING PAGE ========== */
html{ scroll-behavior:smooth; overflow-x:hidden; }
body.landing{
  display:block; min-height:100vh; height:auto;
  position:static;
  overflow:visible;
  background:var(--bg-page);
}
.lp-section, .lp-hero, .lp-cta{ scroll-margin-top:76px; }

.lp-container{ max-width:1120px; margin:0 auto; padding:0 24px; }

/* NAV */
.lp-nav{
  position:sticky; top:0; z-index:50;
  background:rgba(13,43,39,.92); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(239,233,216,.1);
}
.lp-nav-inner{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding-top:15px; padding-bottom:15px; }
.lp-nav-right{ display:flex; align-items:center; gap:18px; }
.lp-brand{ display:flex; align-items:center; gap:10px; text-decoration:none; color:#EFE9D8; }
.lp-brand img{ width:38px; height:38px; border-radius:50%; object-fit:cover; box-shadow:0 0 0 2px rgba(227,168,87,.5); }
.lp-brand b{ font-family:'Fraunces',serif; font-size:15px; display:block; line-height:1.1; }
.lp-brand span{ font-size:10.5px; color:var(--accent-gold-soft); letter-spacing:.04em; }
.lp-links{ display:flex; align-items:center; gap:22px; }
.lp-links a{
  color:rgba(239,233,216,.75); text-decoration:none; font-size:13px; font-weight:600;
  transition:color .15s;
}
.lp-links a:hover{ color:var(--accent-gold); }

/* BUTTONS */
.lp-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:inherit; font-weight:700; font-size:13.5px; text-decoration:none;
  padding:12px 26px; border-radius:10px; transition:all .15s; white-space:nowrap;
}
.lp-btn-gold{ background:var(--accent-gold); color:#123832; box-shadow:0 6px 18px rgba(227,168,87,.35); }
.lp-btn-gold:hover{ background:#d0973f; transform:translateY(-1px); }
.lp-btn-ghost{ color:#EFE9D8; border:1.5px solid rgba(239,233,216,.35); }
.lp-btn-ghost:hover{ border-color:var(--accent-gold); color:var(--accent-gold); }
.lp-btn-light{ background:#FFFDF7; color:#B23A2E; box-shadow:0 6px 18px rgba(0,0,0,.25); }
.lp-btn-light:hover{ transform:translateY(-1px); }
.lp-btn-sm{ padding:8px 18px; font-size:12.5px; }

/* HERO */
.lp-hero{
  background:radial-gradient(circle at 78% 20%, #1B4B44 0%, var(--bg-deep) 48%, var(--bg-deep-2) 100%);
  color:#EFE9D8; overflow:hidden;
}
.lp-hero-grid{
  display:grid; grid-template-columns:1.05fr .95fr; gap:40px; align-items:center;
  padding:84px 24px 96px;
}
.lp-badge{
  display:inline-block; font-size:11px; font-weight:700; letter-spacing:.08em;
  text-transform:uppercase; color:var(--accent-gold);
  border:1px solid rgba(227,168,87,.4); background:rgba(227,168,87,.1);
  padding:6px 14px; border-radius:20px; margin-bottom:20px;
}
.lp-hero h1{
  font-size:44px; font-weight:600; line-height:1.14; letter-spacing:-.01em; margin-bottom:18px;
}
.lp-hero h1 em{ font-style:normal; color:var(--accent-gold); }
.lp-hero p{ font-size:15px; line-height:1.75; color:rgba(239,233,216,.72); max-width:480px; margin-bottom:28px; }
.lp-hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:22px; }
.lp-hero-note{ font-size:12.5px; color:rgba(239,233,216,.65); display:flex; align-items:center; gap:8px; }
.lp-dot{ width:8px; height:8px; border-radius:50%; background:var(--accent-gold); animation:pulse-lp 1.8s infinite; }
@keyframes pulse-lp{ 0%,100%{opacity:1;} 50%{opacity:.3;} }

/* HERO VISUAL */
.lp-visual{ position:relative; height:380px; }
.lp-orbit{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:190px; height:190px; border-radius:50%;
  box-shadow:0 0 0 14px rgba(227,168,87,.08), 0 0 0 30px rgba(227,168,87,.05), 0 24px 60px rgba(0,0,0,.45);
  animation:spin-slow 26s linear infinite;
}
.lp-orbit img{ width:100%; height:100%; object-fit:cover; border-radius:50%; animation:spin-rev 26s linear infinite; }
@keyframes spin-slow{ to{ transform:translate(-50%,-50%) rotate(360deg);} }
@keyframes spin-rev{ to{ transform:rotate(-360deg);} }

.lp-float-card{
  position:absolute; background:rgba(255,253,247,.97); color:var(--ink);
  border-radius:14px; padding:14px 16px; min-width:172px;
  box-shadow:0 16px 40px rgba(0,0,0,.35); border:1px solid rgba(255,255,255,.5);
  animation:floaty 5.5s ease-in-out infinite;
}
.lp-float-card .lbl{ display:block; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.07em; color:var(--ink-soft); margin-bottom:5px; }
.lp-float-card b{ font-size:21px; font-weight:600; }
.lp-float-card .unit{ font-size:11px; color:var(--ink-soft); font-weight:600; }
.lp-float-card .delta{ display:block; font-size:10.5px; font-weight:700; margin-top:4px; }
.lp-float-card .delta.up{ color:#2E7D4F; } .lp-float-card .delta.down{ color:var(--accent-mace); }
.lp-float-card svg{ width:100%; height:34px; display:block; }
.lp-fc-1{ top:4%; left:0; }
.lp-fc-2{ bottom:10%; left:6%; animation-delay:-1.6s; }
.lp-fc-3{ bottom:0; right:8%; width:180px; animation-delay:-2.8s; }
.lp-fc-4{ top:14%; right:0; animation-delay:-4s; }
@keyframes floaty{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-9px);} }

/* SECTIONS */
.lp-section{ padding:88px 0; }
.lp-section.alt{ background:var(--surface-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.lp-kicker{
  display:inline-block; font-size:11px; font-weight:800; letter-spacing:.1em;
  text-transform:uppercase; color:var(--accent-ocean); margin-bottom:12px;
}
.lp-section h2{ font-size:32px; font-weight:600; line-height:1.2; margin-bottom:12px; max-width:640px; }
.lp-lead{ color:var(--ink-soft); font-size:14.5px; margin-bottom:44px; max-width:520px; line-height:1.7; }

/* ABOUT */
.lp-about-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:48px; align-items:center; }
.lp-about-copy p{ font-size:14px; color:var(--ink-soft); line-height:1.85; margin-bottom:14px; }
.lp-about-copy p:last-child{ margin-bottom:0; }
.lp-about-benefits{ display:flex; flex-direction:column; gap:12px; }
.lp-benefit{
  display:flex; align-items:flex-start; gap:14px;
  background:var(--surface); border:1px solid var(--line); border-radius:14px;
  padding:16px 18px;
}
.lp-benefit .chk{
  width:30px; height:30px; border-radius:50%; flex-shrink:0;
  background:#DCEEDD; color:#256B3B;
  display:flex; align-items:center; justify-content:center;
}
.lp-benefit .chk svg{ width:15px; height:15px; }
.lp-benefit b{ display:block; font-size:13.5px; font-weight:700; }
.lp-benefit span{ display:block; font-size:12px; color:var(--ink-soft); margin-top:3px; line-height:1.6; }

/* FEATURES */
.lp-feature-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.lp-feature{
  background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:26px 24px;
  transition:transform .18s, box-shadow .18s;
}
.lp-feature:hover{ transform:translateY(-4px); box-shadow:0 14px 34px rgba(27,43,41,.1); }
.lp-icon{
  width:46px; height:46px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  margin-bottom:16px;
}
.lp-icon svg{ width:22px; height:22px; }
.ic-ocean{ background:var(--accent-ocean-soft); color:var(--accent-ocean); }
.ic-green{ background:#DCEEDD; color:#256B3B; }
.ic-gold{ background:var(--accent-gold-soft); color:#8A5A16; }
.ic-mace{ background:var(--accent-mace-soft); color:var(--accent-mace); }
.lp-feature h3{ font-size:16.5px; font-weight:600; margin-bottom:8px; }
.lp-feature p{ font-size:13px; color:var(--ink-soft); line-height:1.7; }

/* FLOW */
.lp-flow{ display:flex; align-items:stretch; gap:14px; margin-top:40px; }
.lp-step{
  flex:1; background:var(--surface); border:1px solid var(--line); border-radius:16px;
  padding:26px 22px; position:relative;
}
.lp-step .num{
  display:inline-block; font-size:13px; font-weight:600; color:var(--accent-ocean);
  background:var(--accent-ocean-soft); border-radius:8px; padding:4px 10px; margin-bottom:14px;
}
.lp-step h3{ font-size:15.5px; font-weight:600; margin-bottom:8px; }
.lp-step p{ font-size:12.5px; color:var(--ink-soft); line-height:1.7; }
.lp-arrow{
  align-self:center; font-size:26px; color:var(--accent-gold); font-weight:700; flex-shrink:0;
}

/* ROLES */
.lp-role-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:40px; }
.lp-role{
  background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:24px 22px;
}
.lp-role.highlight{ border-color:var(--accent-gold); box-shadow:0 10px 30px rgba(227,168,87,.18); }
.lp-role-head{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px; flex-wrap:wrap; margin-bottom:14px;
}
.lp-role h3{ font-size:16.5px; font-weight:600; }
.lp-tag{
  display:inline-block; font-size:10px; font-weight:800; letter-spacing:.06em; text-transform:uppercase;
  padding:4px 10px; border-radius:14px;
  background:var(--accent-ocean-soft); color:var(--accent-ocean);
}
.lp-tag.gold{ background:var(--accent-gold-soft); color:#8A5A16; }
.lp-role ul{ list-style:none; }
.lp-role li{
  font-size:13px; color:var(--ink-soft); padding:8px 2px 8px 22px; position:relative;
  border-bottom:1px dashed var(--line);
}
.lp-role li:last-child{ border-bottom:none; padding-bottom:2px; }
.lp-role li::before{
  content:""; position:absolute; left:2px; top:.62em;
  width:8px; height:8px; border-radius:50%; background:var(--accent-gold);
}

/* CTA */
.lp-cta{
  background:linear-gradient(120deg, var(--accent-mace), #8E2C21);
  color:#fff; text-align:center; padding:76px 0;
}
.lp-cta h2{ font-size:30px; font-weight:600; margin-bottom:10px; }
.lp-cta p{ font-size:14px; opacity:.85; margin-bottom:26px; }

/* FOOTER */
.lp-foot{
  background:var(--bg-deep-2); color:rgba(239,233,216,.55);
  font-size:11.5px; padding:22px 0;
}

/* ========== LOGIN / AUTH ========== */
body.auth-page{
  background:
    radial-gradient(circle at 1px 1px, rgba(27,43,41,.06) 1px, transparent 1.6px) 0 0/26px 26px,
    radial-gradient(circle at 85% -10%, rgba(29,111,134,.10), transparent 45%),
    var(--bg-page);
}
.auth-wrap{ min-height:100vh; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px; padding:36px 20px; }

.auth-panel{
  display:flex; align-items:stretch; width:100%; max-width:900px;
  background:var(--surface); border:1px solid var(--line); border-radius:24px;
  overflow:hidden;
  box-shadow:0 40px 90px rgba(13,43,39,.16), 0 4px 14px rgba(13,43,39,.05);
}

.auth-side{
  width:41%; flex-shrink:0; display:flex; flex-direction:column;
  background:radial-gradient(circle at 26% 8%, #1E544B 0%, var(--bg-deep) 55%, var(--bg-deep-2) 100%);
  color:#EFE9D8; padding:32px 34px;
}
.auth-side-body{ margin-top:auto; margin-bottom:auto; padding:20px 0; }
.auth-side h2{
  font-size:clamp(22px, 1.9vw, 27px); font-weight:600; line-height:1.25;
  letter-spacing:-.01em; margin:4px 0 20px; max-width:360px;
}
.auth-side h2 em{ font-style:normal; color:var(--accent-gold); }
.auth-side-list{ list-style:none; display:flex; flex-direction:column; gap:13px; max-width:360px; }
.auth-side-list li{ display:flex; align-items:flex-start; gap:12px; }
.auth-side-list .ai{
  width:35px; height:35px; border-radius:10px; flex-shrink:0;
  background:rgba(227,168,87,.13); border:1px solid rgba(227,168,87,.35);
  color:var(--accent-gold); display:flex; align-items:center; justify-content:center;
}
.auth-side-list .ai svg{ width:17px; height:17px; }
.auth-side-list b{ display:block; font-size:13px; font-weight:700; }
.auth-side-list span{ display:block; font-size:11.5px; color:rgba(239,233,216,.6); margin-top:2px; line-height:1.5; }
.auth-side-foot{
  font-size:10px; letter-spacing:.08em; text-transform:uppercase;
  color:rgba(239,233,216,.45); border-top:1px solid rgba(239,233,216,.12); padding-top:15px;
}

.auth-main{ flex:1; min-width:0; display:flex; flex-direction:column; }
.auth-topbar{ padding:20px 30px 0; }
.auth-back{
  display:inline-flex; align-items:center; gap:7px;
  font-size:12px; font-weight:700; color:var(--ink-soft); text-decoration:none;
  transition:color .15s;
}
.auth-back:hover{ color:var(--accent-mace); }
.auth-back svg{ width:14px; height:14px; }
.auth-center{ flex:1; display:flex; flex-direction:column; justify-content:center; padding:8px 34px 26px; }
.auth-logo{
  width:58px; height:58px; border-radius:50%; object-fit:cover; display:block; margin:0 auto 14px;
  box-shadow:0 0 0 4px rgba(227,168,87,.25), 0 10px 22px rgba(27,43,41,.15);
}
.auth-card h1{ font-size:21px; font-weight:600; text-align:center; letter-spacing:-.01em; }
.auth-sub{ font-size:12.5px; color:var(--ink-soft); text-align:center; margin:6px auto 20px; line-height:1.6; max-width:280px; }
.auth-error{
  font-size:12.5px; font-weight:600; color:var(--accent-mace);
  background:var(--accent-mace-soft); border:1px solid rgba(178,58,46,.25);
  padding:10px 13px; border-radius:10px; margin-bottom:16px; text-align:center;
}
.auth-field{ display:flex; flex-direction:column; gap:6px; margin-bottom:14px; }
.auth-field label{
  font-size:10.5px; font-weight:700; color:var(--ink-soft);
  text-transform:uppercase; letter-spacing:.06em;
}
.auth-field input{
  font-family:inherit; font-size:13.5px; padding:11px 14px; border-radius:11px;
  border:1.5px solid var(--line); background:var(--surface-2); color:var(--ink);
  transition:border-color .15s, background .15s, box-shadow .15s;
}
.auth-field input:focus{
  outline:none; border-color:var(--accent-gold); background:#fff;
  box-shadow:0 0 0 4px rgba(227,168,87,.15);
}
.auth-foot{ margin-top:20px; font-size:10.5px; color:var(--ink-soft); text-align:center; }

.btn-auth-submit{
  display:flex; align-items:center; justify-content:center; gap:9px;
  width:100%; margin-top:12px; padding:13px 24px;
  font-family:inherit; font-size:14px; font-weight:800; letter-spacing:.01em;
  color:#123832;
  background:linear-gradient(135deg, #EFB964 0%, #E3A857 55%, #D0973F 100%);
  border:none; border-radius:12px; cursor:pointer;
  box-shadow:0 10px 22px rgba(227,168,87,.38), inset 0 1px 0 rgba(255,255,255,.5);
  transition:transform .15s, box-shadow .15s;
}
.btn-auth-submit::after{
  content:"→"; font-size:15px; transition:transform .15s;
}
.btn-auth-submit:hover{
  transform:translateY(-2px);
  box-shadow:0 15px 30px rgba(227,168,87,.46), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-auth-submit:hover::after{ transform:translateX(3px); }
.btn-auth-submit:active{
  transform:translateY(0);
  box-shadow:0 5px 12px rgba(227,168,87,.35), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn-auth-submit:focus-visible{ outline:3px solid rgba(227,168,87,.45); outline-offset:2px; }

/* Tren produksi di halaman login (di bawah 4 item) */
.auth-trend{
  margin-top:18px; max-width:360px;
  background:rgba(255,253,247,.06);
  border:1px solid rgba(227,168,87,.28);
  border-radius:14px; padding:14px 14px 12px;
}
.auth-trend-head{ display:flex; align-items:flex-start; justify-content:space-between; gap:10px; margin-bottom:10px; }
.auth-trend-head b{ display:block; font-size:13px; font-weight:700; color:#EFE9D8; }
.auth-trend-head span{ display:block; font-size:11px; color:rgba(239,233,216,.6); margin-top:2px; line-height:1.5; }
.auth-trend-total{
  flex-shrink:0; font-size:12px; font-weight:600; color:var(--accent-gold);
  background:rgba(227,168,87,.12); border:1px solid rgba(227,168,87,.3);
  padding:4px 10px; border-radius:18px; white-space:nowrap;
}
.auth-trend-chart{ position:relative; height:150px; }
.auth-trend-chart canvas{ width:100% !important; height:100% !important; }
.auth-trend-foot{
  display:flex; align-items:center; gap:6px; flex-wrap:wrap;
  margin-top:10px; font-size:10.5px; color:rgba(239,233,216,.65);
}
.auth-trend-foot b{ color:#EFE9D8; }
.auth-trend-empty{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  text-align:center; font-size:11px; color:rgba(239,233,216,.6); padding:0 20px;
}

/* Versi mobile — tampil di bawah form login saat panel kiri disembunyikan */
.auth-trend-public{
  display:none; width:100%; max-width:480px;
  background:var(--surface); border:1px solid var(--line); border-radius:18px;
  padding:18px 18px 14px; box-shadow:0 16px 40px rgba(13,43,39,.1);
}
.auth-trend-public-head{ display:flex; align-items:flex-start; justify-content:space-between; gap:10px; margin-bottom:12px; }
.auth-trend-public-head b{ display:block; font-size:14px; font-weight:700; }
.auth-trend-public-head span{ display:block; font-size:11.5px; color:var(--ink-soft); margin-top:3px; }
.auth-trend-public-total{
  flex-shrink:0; font-size:12px; font-weight:600; color:#8A5A16;
  background:var(--accent-gold-soft); border:1px solid rgba(227,168,87,.35);
  padding:5px 11px; border-radius:18px; white-space:nowrap;
}
.auth-trend-public-chart{ position:relative; height:180px; }
.auth-trend-public-chart canvas{ width:100% !important; height:100% !important; }
.auth-trend-public-foot{ display:flex; flex-wrap:wrap; gap:6px; margin-top:12px; font-size:11px; color:var(--ink-soft); }
.auth-trend-public-foot b{ color:var(--ink); }
.auth-trend-public-empty{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  text-align:center; font-size:11.5px; color:var(--ink-soft); padding:0 20px;
}

@media (max-width:900px){
  .auth-wrap{ padding:24px 16px; }
  .auth-panel{ flex-direction:column; max-width:480px; }
  .auth-side{ display:none; }
  .auth-trend-public{ display:block; }
  .auth-topbar{ padding:18px 22px 0; }
  .auth-center{ padding:4px 22px 24px; }
}

/* ========== RESPONSIVE ========== */
@media (max-width:1024px){
  .lp-nav-inner{ padding-top:12px; padding-bottom:12px; }
  .lp-links{ display:none; }
  .lp-hero-grid{ grid-template-columns:1fr; padding:52px 24px 64px; gap:36px; }
  .lp-hero h1{ font-size:36px; }
  .lp-hero p{ max-width:560px; }
  .lp-visual{ height:340px; max-width:520px; margin:0 auto; width:100%; }
  .lp-feature-grid{ grid-template-columns:1fr 1fr; }
  .lp-about-grid{ grid-template-columns:1fr; gap:32px; }
}
@media (max-width:768px){
  .lp-hero-grid{ padding:46px 22px 58px; gap:30px; }
  .lp-hero h1{ font-size:31px; }
  .lp-badge{ font-size:10px; padding:5px 12px; }
  .lp-section{ padding:56px 0; }
  .lp-section h2{ font-size:25px; }
  .lp-feature-grid{ gap:12px; }
  .lp-feature{ padding:20px 18px; }
  .lp-role-grid{ grid-template-columns:1fr; gap:12px; margin-top:28px; }
  .lp-role{ padding:16px 16px 10px; }
  .lp-role-head{ margin-bottom:8px; }
  .lp-role h3{ font-size:15px; }
  .lp-role li{
    font-size:13px; color:var(--ink-soft);
    padding:9px 2px 9px 20px; border-bottom:none;
  }
  .lp-role li:last-child{ padding-bottom:4px; }
  .lp-role li::before{ left:0; top:.6em; width:7px; height:7px; }
  .lp-flow{ flex-direction:column; gap:10px; }
  .lp-arrow{ transform:rotate(90deg); text-align:center; line-height:1; padding:2px 0; }
  .lp-step{ padding:22px 20px; }
  .lp-visual{ display:none; }
  .lp-cta{ padding:54px 0; }
  .lp-cta h2{ font-size:24px; }
  .lp-cta p{ font-size:13px; }
}
@media (max-width:480px){
  .lp-container{ padding:0 16px; }
  .lp-nav-inner{ padding-top:13px; padding-bottom:13px; gap:10px; }
  .lp-brand{ min-width:0; }
  .lp-brand b{
    font-size:15px; max-width:140px;
    overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  }
  .lp-brand img{ width:38px; height:38px; box-shadow:0 0 0 2.5px rgba(227,168,87,.5); }
  .lp-brand span{ display:none; }
  .lp-nav-right{ gap:10px; flex-shrink:0; }
  .lp-btn-sm{ padding:9px 16px; font-size:12px; border-radius:9px; }

  .lp-hero-grid{ padding:38px 16px 50px; }
  .lp-hero h1{ font-size:25px; }
  .lp-hero p{ font-size:13.5px; }
  .lp-hero-actions{ flex-direction:column; align-items:stretch; }
  .lp-hero-note{ font-size:11.5px; }

  .lp-visual{ height:225px; max-width:300px; }
  .lp-float-card{ min-width:116px; padding:9px 11px; }
  .lp-float-card b{ font-size:14px; }
  .lp-float-card svg{ height:26px; }
  .lp-orbit{ width:112px; height:112px; box-shadow:0 0 0 8px rgba(227,168,87,.08), 0 0 0 17px rgba(227,168,87,.05), 0 14px 34px rgba(0,0,0,.4); }
  .lp-fc-2{ display:none; }

  .lp-section{ padding:48px 0; }
  .lp-section h2{ font-size:23px; }
  .lp-kicker{ font-size:10px; }
  .lp-lead{ font-size:13px; margin-bottom:30px; }
  .lp-feature{ padding:18px 16px; }
  .lp-feature h3{ font-size:15px; }
  .lp-feature p{ font-size:12.5px; }
  .lp-benefit{ padding:13px 15px; }
  .lp-step{ padding:20px 18px; }

  .lp-cta{ padding:48px 0; }
  .lp-cta h2{ font-size:22px; }

  footer.lp-foot{ text-align:center; padding:18px 0; }
}
