:root{
  /* Softer premium dark palette */
  --l-bg0:#050814;
  --l-bg1:#070B1A;
  --l-text:#EAF0FF;
  --l-muted: rgba(234,240,255,.72);
  --l-muted2: rgba(234,240,255,.55);
  --l-stroke: rgba(255,255,255,.12);
  --l-card: rgba(255,255,255,.06);
  /* Teal + violet (cleaner than heavy blue/purple) */
  --l-brand:#22D3EE;
  --l-brand2:#A78BFA;
  --l-good:#22C55E;
  --l-radius:22px;
  --l-shadow: 0 30px 70px rgba(0,0,0,.45);
  --l-shadow2: 0 16px 40px rgba(0,0,0,.35);
}

/* Landing body override (scoped) */
body.landing-body{
  color: var(--l-text);
  background:
    radial-gradient(1200px 520px at 12% 6%, rgba(34,211,238,.18), transparent 60%),
    radial-gradient(900px 420px at 88% 16%, rgba(167,139,250,.14), transparent 60%),
    radial-gradient(900px 480px at 55% 88%, rgba(34,197,94,.10), transparent 60%),
    linear-gradient(180deg, var(--l-bg0), var(--l-bg1)) !important;
}

/* Topbar on landing */
.landing-topbar{
  background: rgba(7,10,18,.45) !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Brand logo sizing on landing */
.landing-topbar .brand-logo{ height:46px; width:auto; display:block; }
.landing-topbar .brand-text-hide{ display:none; }
.landing-topbar .badge-soft{
  background: rgba(34,211,238,.12);
  border: 1px solid rgba(34,211,238,.22);
  color: rgba(234,240,255,.92);
}
.landing-topbar .btn.landing-btn{
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: #fff;
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
}
.landing-topbar .btn.landing-btn:hover{ filter: brightness(1.05); transform: translateY(-1px); }
.landing-topbar .btn.landing-btn-primary{
  border-radius: 999px;
  border: 1px solid rgba(34,211,238,.40);
  background: linear-gradient(135deg, rgba(34,211,238,.92), rgba(167,139,250,.84));
  box-shadow: 0 22px 60px rgba(34,211,238,.14);
}

/* Landing sections */
.landing-wrap{ padding: 56px 0 24px; }
.landing-container{ max-width:1180px; margin:0 auto; padding:0 18px; }
.l-badge{
  display:inline-flex; align-items:center; gap:10px;
  font-size:13px; font-weight:800;
  padding:8px 12px; border-radius:999px;
  background: rgba(34,211,238,.10);
  border: 1px solid rgba(34,211,238,.22);
  color: rgba(234,240,255,.92);
}
.l-dot{
  width:8px;height:8px;border-radius:999px;
  background: var(--l-good);
  box-shadow: 0 0 0 6px rgba(34,197,94,.10);
}
.l-hero{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  align-items:center;
}
.l-title{
  margin: 14px 0 10px;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.02;
  letter-spacing: -.02em;
  font-weight: 900;
}
.l-sub{
  color: var(--l-muted);
  line-height: 1.65;
  font-size: 16px;
  max-width: 60ch;
}
.l-actions{ display:flex; flex-wrap:wrap; gap:12px; margin-top: 18px; }
.l-btn{
  display:inline-flex; align-items:center; gap:10px;
  padding: 11px 15px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:#fff;
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
  transition: transform .16s ease, filter .16s ease, background .16s ease, border-color .16s ease;
}
.l-btn:hover{ transform: translateY(-2px); filter: brightness(1.04); }
.l-btn.primary{
  border-color: rgba(34,211,238,.40);
  background: linear-gradient(135deg, rgba(34,211,238,.92), rgba(167,139,250,.84));
  box-shadow: 0 22px 60px rgba(34,211,238,.14);
}
.l-mini{ margin-top: 18px; display:flex; gap:12px; flex-wrap:wrap; color: var(--l-muted2); font-size:13px; }
.l-pill{
  padding:10px 12px; border-radius:999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
}

/* 3D mock card */
.l-mock-wrap{ position:relative; perspective: 1100px; }
.l-floaty{
  position:absolute; width:140px; height:140px; border-radius: 44px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.14), transparent 55%),
              linear-gradient(135deg, rgba(34,211,238,.62), rgba(167,139,250,.55));
  opacity:.85;
  box-shadow: 0 34px 90px rgba(34,211,238,.12);
  transform: rotate(18deg);
  animation: lfloat 7s ease-in-out infinite;
}
.l-f1{ top:-18px; right:-28px; }
.l-f2{ bottom:-26px; left:-26px; width:120px; height:120px; opacity:.65; animation-duration: 8.5s; }
@keyframes lfloat{ 0%,100%{ transform: translateY(0) rotate(18deg)} 50%{transform: translateY(-10px) rotate(18deg)} }

.l-mock{
  position:relative;
  border-radius: 34px;
  border:1px solid rgba(255,255,255,.16);
  background:
    radial-gradient(120px 120px at 25% 22%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  box-shadow: var(--l-shadow);
  transform: rotateY(-10deg) rotateX(6deg);
  transform-style: preserve-3d;
  overflow:hidden;
  padding:18px;
  min-height: 420px;
}
.l-mock::before{
  content:"";
  position:absolute; inset:-40px;
  background:
    radial-gradient(220px 220px at 85% 25%, rgba(139,92,246,.25), transparent 60%),
    radial-gradient(240px 240px at 20% 70%, rgba(65,110,240,.26), transparent 60%);
  filter: blur(12px);
  transform: translateZ(-20px);
}
.l-mock-top{ position:relative; display:flex; justify-content:space-between; align-items:center; margin-bottom: 16px; transform: translateZ(18px); }
.l-chip{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px; border-radius:999px;
  background: rgba(7,10,18,.55);
  border:1px solid rgba(255,255,255,.10);
  color: rgba(234,240,255,.90);
  font-size:12px; font-weight:800;
}
.l-stack{ display:grid; gap:12px; position:relative; transform: translateZ(16px); }
.l-task{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 14px;
  border-radius: 18px;
  background: rgba(7,10,18,.45);
  border:1px solid rgba(255,255,255,.10);
  box-shadow: var(--l-shadow2);
}
.l-left{ display:flex; align-items:center; gap:12px; min-width:0; }
.l-shape{
  width:38px; height:38px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(65,110,240,.95), rgba(139,92,246,.85));
  border:1px solid rgba(255,255,255,.14);
  box-shadow: 0 20px 40px rgba(65,110,240,.16);
}
.l-t{ display:flex; flex-direction:column; gap:4px; min-width:0; }
.l-t b{ font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.l-t span{ font-size:12px; color: var(--l-muted2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.l-status{
  width:30px;height:30px;border-radius:999px;
  display:grid;place-items:center;
  background: rgba(34,197,94,.12);
  border:1px solid rgba(34,197,94,.25);
  color: rgba(234,240,255,.95);
  font-weight: 900;
}

/* Blocks */
.l-block{ padding: 38px 0; }
.l-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:18px; flex-wrap:wrap; margin-bottom: 18px; }
.l-head h2{ margin:0; font-size: 24px; letter-spacing:-.01em; font-weight: 900; }
.l-head p{ margin:0; color: var(--l-muted); max-width: 64ch; }

.l-grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.l-card3d{
  grid-column: span 3;
  background: var(--l-card);
  border: 1px solid var(--l-stroke);
  border-radius: var(--l-radius);
  box-shadow: var(--l-shadow2);
  padding: 16px;
  position:relative;
  transform-style: preserve-3d;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
  overflow:hidden;
}
.l-card3d::before{
  content:"";
  position:absolute; inset:-60px;
  background:
    radial-gradient(260px 260px at 20% 20%, rgba(34,211,238,.14), transparent 60%),
    radial-gradient(220px 220px at 80% 40%, rgba(167,139,250,.12), transparent 60%);
  opacity:.55;
  transform: translateZ(-12px);
}

/* ====== New: Cartoon work card (replaces old module list) ====== */
.l-workcard{
  position:relative;
  border-radius: 34px;
  border:1px solid rgba(255,255,255,.16);
  background:
    radial-gradient(120px 120px at 25% 22%, rgba(255,255,255,.16), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.03));
  box-shadow: var(--l-shadow);
  transform: rotateY(-10deg) rotateX(6deg);
  transform-style: preserve-3d;
  overflow:hidden;
  padding:18px;
  min-height: 420px;
}
.l-workcard::before{
  content:"";
  position:absolute; inset:-40px;
  background:
    radial-gradient(220px 220px at 85% 25%, rgba(167,139,250,.18), transparent 60%),
    radial-gradient(240px 240px at 20% 70%, rgba(34,211,238,.20), transparent 60%);
  filter: blur(12px);
  transform: translateZ(-20px);
}
.l-work-top{
  position:relative;
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom: 12px;
  transform: translateZ(18px);
}
.l-ill{
  position:relative;
  transform: translateZ(14px);
  background: rgba(7,10,18,.35);
  border:1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  padding: 12px;
  overflow:hidden;
}
.l-ill-svg{ width:100%; height:auto; display:block; }
.l-work-label{
  position:absolute;
  left:14px; bottom:12px;
  display:flex; flex-direction:column; gap:4px;
  padding:10px 12px;
  border-radius: 16px;
  background: rgba(7,10,18,.55);
  border:1px solid rgba(255,255,255,.10);
}
.l-work-label b{ font-size:14px; }
.l-work-label span{ font-size:12px; color: var(--l-muted2); }

/* SVG animations */
.l-ill-svg .char{ transform-origin: 260px 240px; animation: lbob 3.8s ease-in-out infinite; }
.l-ill-svg .hands{ transform-origin: 260px 250px; animation: ltype .38s ease-in-out infinite; }
.l-ill-svg .code{ animation: lcode 1.2s ease-in-out infinite; }
@keyframes lbob{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-5px);} }
@keyframes ltype{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(2px);} }
@keyframes lcode{ 0%,100%{ opacity:.92;} 50%{ opacity:.55;} }

/* Online status badge */
.l-online{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(234,240,255,.90);
  font-size: 13px;
  font-weight: 800;
}
.l-online-dot{
  width:10px;
  height:10px;
  border-radius: 999px;
  background: var(--l-good);
  box-shadow: 0 0 0 0 rgba(34,197,94,.35);
  animation: lpulse 1.4s ease-out infinite;
}
@keyframes lpulse{
  0%{ box-shadow: 0 0 0 0 rgba(34,197,94,.35); }
  70%{ box-shadow: 0 0 0 10px rgba(34,197,94,0); }
  100%{ box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.l-card3d:hover{ border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.075); }
.l-inner{ position:relative; transform: translateZ(18px); }
.l-icon{
  width:42px;height:42px;border-radius: 16px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  display:grid;place-items:center;
  margin-bottom: 10px;
}
.l-card3d h3{ margin:0 0 6px; font-size:16px; font-weight:900; }
.l-card3d p{ margin:0; color: var(--l-muted); font-size:13px; line-height:1.55; }

.l-steps{ display:grid; grid-template-columns: 1fr 1fr; gap:14px; }
.l-step{
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--l-radius);
  padding: 16px;
  display:flex; gap:12px;
  box-shadow: var(--l-shadow2);
}
.l-num{
  width:38px;height:38px;border-radius:14px;
  background: linear-gradient(135deg, rgba(65,110,240,.95), rgba(139,92,246,.85));
  border:1px solid rgba(255,255,255,.16);
  display:grid;place-items:center;
  font-weight: 900;
}
.l-step b{ display:block; margin-bottom:4px; }
.l-step span{ color: var(--l-muted); font-size:13px; line-height:1.5; }

.l-stats{ display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; }
.l-stat{
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--l-radius);
  padding: 18px;
  box-shadow: var(--l-shadow2);
}
.l-k{ font-size:28px; font-weight: 900; letter-spacing:-.02em; }
.l-l{ color: var(--l-muted); font-size:13px; }

.l-faq{ display:grid; gap:10px; }
body.landing-body details{
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: 14px 14px;
}
body.landing-body summary{
  cursor:pointer;
  font-weight: 900;
  list-style:none;
  display:flex; align-items:center; justify-content:space-between;
  gap:12px;
}
body.landing-body summary::-webkit-details-marker{ display:none; }
body.landing-body details p{ margin:10px 0 0; color: var(--l-muted); font-size:13px; line-height:1.6; }

.l-foot{
  padding: 30px 0 44px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--l-muted2);
}
.l-foot-inner{ display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; align-items:center; }

@media (max-width: 980px){
  .landing-wrap{ padding-top: 36px; }
  .l-hero{ grid-template-columns: 1fr; }
  .l-mock{ transform:none; min-height: 360px; }
  .l-card3d{ grid-column: span 6; }
  .l-steps{ grid-template-columns: 1fr; }
  .l-stats{ grid-template-columns: 1fr; }
}
@media (max-width: 540px){
  .l-card3d{ grid-column: span 12; }
}

/* =========================
   CUSTOM HOME BACKGROUND (orange + blue)
========================= */
:root{
  --l-bg0:#05040B;
  --l-bg1:#050A14;
  --l-brand:#FF8A00;
  --l-brand2:#3B82F6;
}
body.landing-body{
  background:
    radial-gradient(1200px 520px at 14% 10%, rgba(255,138,0,.18), transparent 60%),
    radial-gradient(900px 420px at 86% 18%, rgba(59,130,246,.18), transparent 60%),
    radial-gradient(900px 480px at 55% 88%, rgba(34,197,94,.08), transparent 60%),
    linear-gradient(180deg, var(--l-bg0), var(--l-bg1)) !important;
}
.l-badge{
  background: rgba(255,138,0,.10);
  border-color: rgba(255,138,0,.22);
}
.landing-topbar .badge-soft{
  background: rgba(255,138,0,.10);
  border-color: rgba(255,138,0,.22);
}
.landing-topbar .btn.landing-btn-primary{
  border-color: rgba(255,138,0,.40);
  background: linear-gradient(135deg, rgba(255,138,0,.92), rgba(59,130,246,.84));
}
.l-btn.primary{
  border-color: rgba(255,138,0,.40);
  background: linear-gradient(135deg, rgba(255,138,0,.92), rgba(59,130,246,.84));
}
