/* ===== Landing page (hanya body.landing) ===== */
body.landing{
  --ink:#0f172a; --muted:#475569; --line:rgba(15,23,42,.08);
  --indigo:#4f46e5; --indigo-dark:#3730a3; --pink:#db2777; --amber:#f59e0b;
  background:
    radial-gradient(60rem 60rem at 110% -10%, rgba(129,140,248,.26), transparent 60%),
    radial-gradient(48rem 48rem at -10% 18%, rgba(244,114,182,.16), transparent 60%),
    radial-gradient(42rem 42rem at 50% 112%, rgba(45,212,191,.15), transparent 62%),
    #f8fafc;
  color:var(--ink);
  overflow-x:hidden;
}
body.landing .wrap{max-width:1120px;margin:0 auto;padding:0 22px}
body.landing ::selection{background:#c7d2fe;color:#312e81}
@media (prefers-reduced-motion:no-preference){body.landing{scroll-behavior:smooth}}

/* ---------- nav ---------- */
body.landing .landing-nav{
  position:sticky;top:0;z-index:40;display:flex;align-items:center;justify-content:space-between;gap:18px;
  margin:0 -22px 0;padding:14px 22px;background:rgba(248,250,252,.82);
  border-bottom:1px solid var(--line);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
}
body.landing .landing-brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);min-width:0}
body.landing .brand-mark{
  width:42px;height:42px;border-radius:14px;display:grid;place-items:center;font-size:22px;flex:none;
  background:linear-gradient(145deg,#6366f1,#8b5cf6 55%,#ec4899);
  box-shadow:0 8px 20px -8px rgba(99,102,241,.65),inset 0 1px 0 rgba(255,255,255,.35);
}
body.landing .brand-text{display:flex;flex-direction:column;line-height:1.1;min-width:0}
body.landing .brand-text strong{font-size:1.06rem;letter-spacing:-.02em}
body.landing .brand-text small{font-size:.7rem;color:var(--muted);font-weight:600;letter-spacing:.06em;text-transform:uppercase}
body.landing .landing-links{display:flex;align-items:center;gap:6px}
body.landing .landing-links a{
  text-decoration:none;color:var(--muted);font-weight:600;font-size:.9rem;padding:9px 12px;border-radius:10px;
  transition:background .15s ease,color .15s ease;
}
body.landing .landing-links a:hover{background:rgba(99,102,241,.1);color:var(--indigo-dark)}
body.landing .landing-links a.nav-admin{color:#7c3aed}
body.landing .landing-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;
  border:0;border-radius:14px;padding:12px 20px;font-weight:700;font-size:.95rem;cursor:pointer;
  color:#fff;background:linear-gradient(135deg,#4f46e5,#7c3aed);box-shadow:0 12px 24px -12px rgba(79,70,229,.75);
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
}
body.landing .landing-btn:hover{transform:translateY(-1px);box-shadow:0 18px 30px -14px rgba(79,70,229,.85)}
body.landing .landing-btn:focus-visible,body.landing .landing-links a:focus-visible{outline:3px solid #a5b4fc;outline-offset:2px}
body.landing .landing-btn.ghost{background:rgba(255,255,255,.7);color:var(--indigo-dark);border:1px solid rgba(79,70,229,.22);box-shadow:none;backdrop-filter:blur(8px)}
body.landing .landing-btn.ghost:hover{background:#fff;box-shadow:0 10px 24px -16px rgba(15,23,42,.3)}
body.landing .landing-btn.big{padding:15px 24px;font-size:1rem;border-radius:16px}
body.landing .landing-links .landing-btn{padding:10px 16px}

/* ---------- hero ---------- */
body.landing .landing-hero{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:48px;align-items:center;padding:58px 0 48px}
body.landing .eyebrow{
  display:inline-flex;align-items:center;gap:8px;padding:7px 13px;border-radius:999px;font-size:.8rem;font-weight:700;
  color:#4338ca;background:rgba(255,255,255,.75);border:1px solid rgba(99,102,241,.2);
  box-shadow:0 8px 20px -16px rgba(15,23,42,.4);
}
body.landing .landing-hero h1{
  margin:18px 0 16px;font-size:clamp(2.35rem,5.2vw,4.2rem);line-height:1.03;letter-spacing:-.035em;
}
body.landing .landing-hero h1 .grad{
  background:linear-gradient(100deg,#4f46e5 10%,#7c3aed 45%,#db2777 90%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
body.landing .hero-sub{max-width:540px;margin:0 0 24px;color:var(--muted);font-size:1.08rem;line-height:1.65}
body.landing .hero-sub strong{color:var(--ink)}
body.landing .hero-cta{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
body.landing .hero-points{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:24px 0 0;padding:0}
body.landing .hero-points li{
  display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border-radius:999px;font-size:.8rem;font-weight:600;
  color:#334155;background:rgba(255,255,255,.72);border:1px solid var(--line);
}
body.landing .hero-note{display:flex;align-items:center;gap:8px;margin-top:16px;color:var(--muted);font-size:.82rem}
body.landing .hero-note .dot{width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.15)}

/* ---------- hero art ---------- */
body.landing .landing-art{position:relative;min-height:470px;display:flex;align-items:center;justify-content:center}
body.landing .art-stage{
  position:relative;width:min(100%,470px);aspect-ratio:1/1;border-radius:36px;overflow:hidden;
  background:linear-gradient(150deg,rgba(255,255,255,.92),rgba(238,242,255,.65) 55%,rgba(252,231,243,.62));
  border:1px solid rgba(99,102,241,.18);
  box-shadow:0 34px 80px -34px rgba(79,70,229,.55),inset 0 1px 0 rgba(255,255,255,.9);
}
body.landing .art-stage::before{
  content:"";position:absolute;inset:-20% -10% auto;height:70%;
  background:radial-gradient(circle at 50% 0,#c7d2fe,transparent 65%);opacity:.9;
}
body.landing .art-stage::after{
  content:"";position:absolute;left:-25%;bottom:-30%;width:80%;height:70%;border-radius:50%;
  background:radial-gradient(circle,#fbcfe8,transparent 65%);opacity:.65;
}
body.landing .school-svg{position:absolute;inset:9% 7% 3%;width:86%;height:88%;z-index:1;filter:drop-shadow(0 24px 30px rgba(49,46,129,.18))}
body.landing .float-card{
  position:absolute;z-index:3;display:flex;align-items:center;gap:7px;padding:9px 12px;border-radius:14px;
  background:rgba(255,255,255,.9);border:1px solid rgba(15,23,42,.07);box-shadow:0 16px 30px -18px rgba(15,23,42,.45);
  font-size:.76rem;font-weight:700;color:#334155;backdrop-filter:blur(8px);white-space:nowrap;
}
body.landing .float-card b{font-size:.95rem}
body.landing .float-a{top:13%;left:4%;animation:landingFloat 6s ease-in-out infinite}
body.landing .float-b{top:22%;right:3%;animation:landingFloat 7s ease-in-out .6s infinite}
body.landing .float-c{bottom:17%;left:1%;animation:landingFloat 6.6s ease-in-out 1.1s infinite}
body.landing .float-d{bottom:9%;right:5%;animation:landingFloat 7.4s ease-in-out .3s infinite}
body.landing .spark{position:absolute;z-index:2;font-size:1.5rem;filter:drop-shadow(0 6px 10px rgba(15,23,42,.18));animation:landingFloat 5.4s ease-in-out infinite}
body.landing .spark.s1{top:8%;right:30%;animation-delay:.4s}
body.landing .spark.s2{bottom:25%;right:2%;font-size:1.2rem;animation-delay:1.3s}
body.landing .spark.s3{top:42%;left:2%;font-size:1.15rem;animation-delay:.8s}

/* ---------- sections ---------- */
body.landing .landing-section{padding:46px 0}
body.landing .landing-section[id]{scroll-margin-top:88px}
body.landing .section-head{max-width:680px;margin:0 auto 28px;text-align:center}
body.landing .kicker{
  display:inline-block;font-size:.72rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#6366f1;
  margin-bottom:10px;
}
body.landing .landing-section h2{margin:0 0 10px;font-size:clamp(1.75rem,3.4vw,2.5rem);line-height:1.12;letter-spacing:-.025em}
body.landing .section-head p{margin:0;color:var(--muted);line-height:1.65}

body.landing .feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
body.landing .feature{
  position:relative;padding:22px 20px;border-radius:22px;background:rgba(255,255,255,.82);border:1px solid var(--line);
  box-shadow:0 18px 40px -34px rgba(15,23,42,.5);transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
}
body.landing .feature:hover{transform:translateY(-4px);background:#fff;box-shadow:0 26px 50px -30px rgba(79,70,229,.4)}
body.landing .feature-icon{
  width:52px;height:52px;border-radius:16px;display:grid;place-items:center;font-size:25px;margin-bottom:14px;
  background:linear-gradient(145deg,#eef2ff,#fce7f3);border:1px solid rgba(99,102,241,.14);
}
body.landing .feature h3{margin:0 0 7px;font-size:1rem;letter-spacing:-.01em}
body.landing .feature p{margin:0;color:var(--muted);font-size:.88rem;line-height:1.55}

/* ---------- how it works ---------- */
body.landing .how-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.92fr);gap:34px;align-items:center}
body.landing .steps{display:flex;flex-direction:column;gap:14px;margin:0;padding:0;list-style:none}
body.landing .step{display:flex;gap:14px;padding:16px 18px;border-radius:18px;background:rgba(255,255,255,.72);border:1px solid var(--line)}
body.landing .step-num{
  flex:none;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;font-weight:800;color:#fff;
  background:linear-gradient(145deg,#4f46e5,#7c3aed);box-shadow:0 8px 18px -10px rgba(79,70,229,.8);
}
body.landing .step h3{margin:0 0 3px;font-size:.98rem}
body.landing .step p{margin:0;color:var(--muted);font-size:.87rem;line-height:1.5}

body.landing .demo{
  position:relative;padding:26px;border-radius:26px;color:#e0e7ff;overflow:hidden;
  background:linear-gradient(150deg,#1e1b4b,#312e81 55%,#4c1d95);
  box-shadow:0 30px 60px -32px rgba(49,46,129,.8);border:1px solid rgba(255,255,255,.12);
}
body.landing .demo::before{content:"";position:absolute;top:-30%;right:-15%;width:70%;height:75%;border-radius:50%;background:radial-gradient(circle,rgba(236,72,153,.35),transparent 65%)}
body.landing .demo-top{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:16px;position:relative}
body.landing .demo-tag{font-size:.68rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#c7d2fe}
body.landing .demo-live{display:inline-flex;align-items:center;gap:6px;font-size:.68rem;font-weight:700;color:#bbf7d0}
body.landing .demo-live i{width:7px;height:7px;border-radius:50%;background:#4ade80;box-shadow:0 0 0 4px rgba(74,222,128,.16)}
body.landing .demo-q{position:relative;margin:0 0 16px;font-size:1.12rem;font-weight:700;line-height:1.45;color:#fff}
body.landing .demo-options{display:grid;gap:8px;position:relative}
body.landing .demo-opt{display:flex;align-items:center;gap:10px;padding:11px 13px;border-radius:12px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);font-size:.85rem;color:#e0e7ff}
body.landing .demo-opt .letter{width:22px;height:22px;border-radius:7px;display:grid;place-items:center;background:rgba(255,255,255,.12);font-size:.7rem;font-weight:800;flex:none}
body.landing .demo-opt.correct{background:rgba(34,197,94,.18);border-color:rgba(74,222,128,.55);color:#dcfce7}
body.landing .demo-opt.correct .letter{background:#22c55e;color:#052e16}
body.landing .demo-foot{display:flex;align-items:center;gap:10px;margin-top:16px;position:relative;font-size:.75rem;color:#c7d2fe}
body.landing .demo-xp{padding:4px 9px;border-radius:999px;background:rgba(250,204,21,.16);border:1px solid rgba(250,204,21,.3);color:#fde68a;font-weight:800}

/* ---------- CTA ---------- */
body.landing .landing-cta{
  position:relative;overflow:hidden;margin:24px 0 8px;padding:42px 40px;border-radius:30px;color:#fff;
  background:linear-gradient(120deg,#4f46e5,#6d28d9 55%,#be185d);
  box-shadow:0 34px 70px -34px rgba(79,70,229,.8);
}
body.landing .landing-cta::before{content:"";position:absolute;top:-40%;right:-10%;width:55%;height:120%;border-radius:50%;background:rgba(255,255,255,.12)}
body.landing .landing-cta::after{content:"";position:absolute;bottom:-55%;left:-10%;width:50%;height:110%;border-radius:50%;background:rgba(255,255,255,.09)}
body.landing .cta-inner{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
body.landing .landing-cta h2{margin:0 0 8px;font-size:clamp(1.6rem,3vw,2.2rem);letter-spacing:-.02em;color:#fff}
body.landing .landing-cta p{margin:0;max-width:600px;color:rgba(255,255,255,.86);line-height:1.6;font-size:.95rem}
body.landing .landing-cta .landing-btn{background:#fff;color:#3730a3;box-shadow:0 16px 30px -18px rgba(0,0,0,.45)}
body.landing .landing-cta .landing-btn:hover{background:#eef2ff;transform:translateY(-2px)}
body.landing .cta-small{position:relative;z-index:1;margin-top:12px;font-size:.78rem;color:rgba(255,255,255,.78)}

/* ---------- footer ---------- */
body.landing .landing-footer{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;padding:26px 0 34px;border-top:1px solid var(--line);margin-top:30px;color:var(--muted);font-size:.8rem}
body.landing .landing-footer a{color:#4338ca;text-decoration:none;font-weight:600}
body.landing .landing-footer a:hover{text-decoration:underline}

@keyframes landingFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
@media (prefers-reduced-motion:reduce){
  body.landing .float-card,body.landing .spark{animation:none}
  body.landing *{scroll-behavior:auto}
}

/* ---------- responsive ---------- */
@media (max-width:940px){
  body.landing .landing-hero{grid-template-columns:1fr;gap:28px;padding-top:38px}
  body.landing .hero-sub{max-width:none}
  body.landing .landing-art{min-height:420px;order:-1}
  body.landing .art-stage{width:min(100%,420px)}
  body.landing .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.landing .how-grid{grid-template-columns:1fr}
}
@media (max-width:720px){
  body.landing .wrap{padding:0 16px}
  body.landing .landing-nav{margin:0 -16px;padding:12px 16px}
  body.landing .landing-links a:not(.landing-btn):not(.nav-admin){display:none}
  body.landing .landing-hero h1{font-size:clamp(2.1rem,9vw,3rem)}
  body.landing .landing-art{min-height:350px}
  body.landing .art-stage{width:min(100%,350px);border-radius:28px}
  body.landing .feature-grid{grid-template-columns:1fr}
  body.landing .landing-cta{padding:30px 22px;border-radius:24px}
  body.landing .landing-footer{justify-content:center;text-align:center}
}
@media (max-width:430px){
  body.landing .landing-links .nav-admin{display:none}
  body.landing .brand-text small{display:none}
  body.landing .landing-links .landing-btn{padding:9px 13px;font-size:.9rem}
  body.landing .float-card{font-size:.68rem;padding:7px 9px}
  body.landing .float-a{left:0}
  body.landing .float-b{right:0}
  body.landing .float-c{left:0}
  body.landing .float-d{right:0}
  body.landing .spark{display:none}
}
