/* ============================================================
   landing.css: publieke landingspagina (index.html)
   Bovenop reprix.css + reprix-app.css (Carbon Neon).
   Alles genest onder .rx-landing, nieuwe classes met ld-prefix.
   ============================================================ */

html, body { margin: 0; height: 100%; }
body { background: #08090d; }

/* het DOCUMENT scrolt hier (de .rx-landing-div groeit gewoon mee),
   dus vloeiend scrollen bij ankerlinks hoort op html */
html { scroll-behavior: smooth; }

/* .rx zet height:100% + overflow:hidden (app-artboard),
   de landingspagina moet juist gewoon kunnen groeien */
.rx-landing {
  min-height: 100vh; height: auto;
  overflow-y: visible; overflow-x: clip;
}
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.08); border-radius: 6px;
  border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(34,211,238,0.3); background-clip: padding-box; }

/* secties niet onder de sticky header laten verdwijnen bij ankerscroll */
#top, #features, #how, #pricing, #faq { scroll-margin-top: 78px; }

/* achtergrondlagen meebewegen over de hele scrollhoogte */
.rx-landing .rx-grid-bg { position: fixed; }
.rx-landing .rx-aurora { position: fixed; z-index: 0; }

/* gedeelde sectie-container */
.ld-wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
.ld-sec { padding: 96px 0; position: relative; z-index: 1; }

/* koppen */
.ld-h2 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; letter-spacing: -0.8px;
  margin: 0 0 12px; text-align: center;
}
.ld-h2 span {
  background: linear-gradient(90deg, var(--blue), var(--cyan) 55%, var(--cyan-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ld-sec-sub {
  font-size: 15.5px; color: var(--muted); line-height: 1.65; text-align: center;
  max-width: 620px; margin: 0 auto 52px;
}

/* ============================================================
   NAV (sticky header)
   ============================================================ */
.ld-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8,9,13,0.72);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--panel-border);
}
.ld-nav-in {
  max-width: 1160px; margin: 0 auto; padding: 0 28px;
  height: 68px; display: flex; align-items: center; gap: 28px;
}
.ld-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex: 0 0 auto; }
.ld-brand svg { filter: drop-shadow(0 0 6px rgba(34,211,238,0.55)); }
.ld-brand-word {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 700; font-size: 17px; letter-spacing: 2.5px;
}
.ld-nav-links { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.ld-nav-links a {
  color: var(--muted); text-decoration: none; font-size: 13.5px; font-weight: 600;
  padding: 8px 13px; border-radius: 9px; transition: color .15s, background .15s;
}
.ld-nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.045); }
.ld-nav-auth { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.ld-nav-auth .btn { text-decoration: none; }

/* hamburger (alleen mobiel) */
.ld-burger { display: none; width: 42px; height: 42px; border-radius: 10px; place-items: center; color: var(--muted); }
.ld-burger:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.ld-burger svg { width: 21px; height: 21px; }

@media (max-width: 860px) {
  .ld-nav-in { gap: 14px; }
  .ld-burger { display: grid; margin-left: auto; }
  .ld-nav-links {
    display: none;
    position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(8,9,13,0.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--panel-border);
    padding: 10px 20px 16px;
  }
  .ld-nav.open .ld-nav-links { display: flex; }
  .ld-nav-links a { padding: 12px 14px; font-size: 15px; }
  .ld-nav-auth { margin-left: 0; }
  .ld-nav-auth .btn { height: 36px; padding: 0 12px; font-size: 12.5px; }
}

/* ============================================================
   HERO
   ============================================================ */
.ld-hero { position: relative; z-index: 1; overflow: visible; }
.ld-hero-in {
  max-width: 1160px; margin: 0 auto; padding: 40px 28px 20px;
  min-height: calc(100vh - 68px);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center; gap: 30px;
}
.ld-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--cyan-2); padding: 7px 13px; border-radius: 999px;
  background: rgba(34,211,238,0.07); border: 1px solid rgba(34,211,238,0.28);
  box-shadow: 0 0 14px rgba(34,211,238,0.12);
  margin-bottom: 22px;
}
.ld-kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.ld-hero-title {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(34px, 4.6vw, 56px); font-weight: 700;
  letter-spacing: -1.5px; line-height: 1.06; margin: 0 0 20px;
}
.ld-hero-title span {
  background: linear-gradient(90deg, var(--blue), var(--cyan) 55%, var(--cyan-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(34,211,238,0.35));
}
.ld-hero-sub { font-size: 16.5px; line-height: 1.7; color: var(--muted); max-width: 520px; margin: 0 0 30px; }
.ld-hero-ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ld-hero-ctas .btn { height: 46px; padding: 0 22px; font-size: 14px; text-decoration: none; }
.ld-hero-note { margin-top: 16px; font-size: 12.5px; color: var(--faint); display: flex; align-items: center; gap: 7px; }
.ld-hero-note svg { width: 14px; height: 14px; color: var(--green); flex: 0 0 auto; }

/* 3D-podium rechts */
.ld-stage {
  position: relative; height: clamp(420px, 62vh, 640px);
  min-width: 0; z-index: 1;
}
/* zachte ronde gloed achter de telefoon: een echte cirkel met blur,
   bewust in CSS in plaats van een 3D-sprite (die gaf een zichtbare
   rechthoekige textuurrand) */
.ld-stage::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: min(72%, 420px); height: min(68%, 420px);
  transform: translate(-50%, -50%);
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle closest-side, rgba(34,211,238,0.22), rgba(59,130,246,0.10) 55%, rgba(59,130,246,0) 100%);
  filter: blur(36px);
}
.ld-stage canvas#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* zwevende kaartjes: echte DOM, positie komt per frame uit landing3d.js.
   opacity start op 0 (tegen flits linksboven), JS of fallback zet ze aan */
.ld-card {
  position: absolute; left: 0; top: 0; z-index: 3;
  display: flex; align-items: center; gap: 11px;
  padding: 11px 15px; border-radius: 12px;
  background: rgba(13,16,23,0.82);
  border: 1px solid var(--panel-border);
  box-shadow: 0 14px 34px -14px rgba(0,0,0,0.85), 0 0 22px -6px rgba(34,211,238,0.22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  pointer-events: none; will-change: transform; opacity: 0;
  transition: opacity .4s ease;
  white-space: nowrap;
}
.ld-card-ico {
  width: 32px; height: 32px; border-radius: 9px; flex: 0 0 auto;
  display: grid; place-items: center;
}
.ld-card-ico svg { width: 16px; height: 16px; }
.ld-card-title { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--faint); }
.ld-card-value { display: block; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 14.5px; font-weight: 700; letter-spacing: -0.2px; margin-top: 2px; }

/* accentkleur per kaartje */
.ld-card-1 .ld-card-ico { color: var(--cyan-2); background: rgba(34,211,238,0.10); border: 1px solid rgba(34,211,238,0.3); }
.ld-card-1 .ld-card-value { color: var(--cyan-2); }
.ld-card-2 .ld-card-ico { color: var(--green); background: rgba(52,211,153,0.10); border: 1px solid rgba(52,211,153,0.3); }
.ld-card-2 .ld-card-value { color: var(--green); }
.ld-card-3 .ld-card-ico { color: var(--violet); background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.32); }
.ld-card-3 .ld-card-value { color: #c4b5fd; }
.ld-card-4 .ld-card-ico { color: var(--amber); background: rgba(251,191,36,0.10); border: 1px solid rgba(251,191,36,0.3); }
.ld-card-4 .ld-card-value { color: var(--amber); font-size: 12.5px; }

/* ---- fallback: CSS-telefoon wanneer WebGL uit staat ---- */
.ld-hero-fallback { position: absolute; inset: 0; display: none; place-items: center; }
.ld-fb-phone {
  width: 210px; height: 430px; border-radius: 34px; position: relative;
  background: linear-gradient(160deg, #12151d, #0a0c12 60%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 0 0 1px rgba(34,211,238,0.10), 0 0 44px -8px rgba(34,211,238,0.28),
              0 40px 80px -30px rgba(0,0,0,0.9);
  transform: rotate(-6deg);
}
.ld-fb-screen {
  position: absolute; inset: 12px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, #0a0e16, #090b10);
  border: 1px solid rgba(255,255,255,0.06);
}
.ld-fb-screen::before {
  content: ""; position: absolute; left: 14px; right: 14px; top: 18px; height: 8px;
  border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--cyan-2));
  box-shadow: 0 0 12px rgba(34,211,238,0.5); opacity: 0.9;
}
.ld-fb-screen::after {
  content: ""; position: absolute; left: 14px; right: 14px; top: 44px; bottom: 18px;
  border-radius: 10px;
  background:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px) 0 0 / 100% 34px,
    linear-gradient(180deg, rgba(34,211,238,0.06), transparent 55%);
}

.rx-landing.no-webgl .ld-stage canvas#heroCanvas { display: none; }
.rx-landing.no-webgl .ld-hero-fallback { display: grid; }
.rx-landing.no-webgl .ld-card { opacity: 1; transition: none; }
.rx-landing.no-webgl .ld-card-1 { left: 4%;  top: 13%; }
.rx-landing.no-webgl .ld-card-2 { left: auto; right: 2%; top: 27%; }
.rx-landing.no-webgl .ld-card-3 { left: 2%;  top: 62%; }
.rx-landing.no-webgl .ld-card-4 { left: auto; right: 4%; top: 74%; }
.rx-landing.no-webgl .ld-card { animation: ldFloat 5.5s ease-in-out infinite; }
.rx-landing.no-webgl .ld-card-2 { animation-delay: -1.6s; }
.rx-landing.no-webgl .ld-card-3 { animation-delay: -3.1s; }
.rx-landing.no-webgl .ld-card-4 { animation-delay: -4.4s; }
@keyframes ldFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .rx-landing.no-webgl .ld-card { animation: none; }
}

@media (max-width: 980px) {
  .ld-hero-in { grid-template-columns: 1fr; min-height: 0; padding-top: 48px; }
  .ld-hero-txt { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .ld-hero-sub { max-width: 560px; }
  .ld-stage { height: clamp(380px, 55vw, 520px); width: 100%; max-width: 560px; margin: 0 auto; }
}

/* ============================================================
   STATS-STROOK
   ============================================================ */
.ld-stats { padding: 10px 0 0; }
.ld-stats-in {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.ld-stat {
  text-align: center; padding: 26px 18px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--panel-border);
  box-shadow: var(--panel-shadow);
}
.ld-stat-num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -1px;
  background: linear-gradient(90deg, var(--cyan-2), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 14px rgba(34,211,238,0.3));
}
.ld-stat-lab { margin-top: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
@media (max-width: 720px) { .ld-stats-in { grid-template-columns: 1fr; gap: 12px; } }

/* ============================================================
   FEATURES
   ============================================================ */
.ld-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1024px) { .ld-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px)  { .ld-grid-3 { grid-template-columns: 1fr; } }

.ld-feat {
  position: relative; border-radius: var(--radius); padding: 26px 24px;
  background: var(--panel); border: 1px solid var(--panel-border);
  box-shadow: var(--panel-shadow);
  transition: border-color .2s, transform .2s, box-shadow .2s;
  overflow: hidden;
}
.ld-feat:hover {
  transform: translateY(-3px);
  border-color: rgba(34,211,238,0.32);
  box-shadow: var(--panel-shadow), 0 0 30px -10px rgba(34,211,238,0.35);
}
.ld-feat-ico {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 18px;
  display: grid; place-items: center; color: var(--cyan-2);
  background: linear-gradient(180deg, rgba(34,211,238,0.13), rgba(59,130,246,0.08));
  border: 1px solid rgba(34,211,238,0.3);
  box-shadow: 0 0 16px -4px rgba(34,211,238,0.4);
}
.ld-feat-ico svg { width: 21px; height: 21px; }
.ld-feat-title { font-size: 16.5px; font-weight: 800; letter-spacing: -0.2px; margin-bottom: 8px; }
.ld-feat-desc { font-size: 13.5px; line-height: 1.65; color: var(--muted); }

/* ============================================================
   ZO WERKT HET (3 stappen)
   ============================================================ */
.ld-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
@media (max-width: 860px) { .ld-steps { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.ld-step {
  position: relative; border-radius: var(--radius); padding: 28px 24px;
  background: var(--panel); border: 1px solid var(--panel-border);
  box-shadow: var(--panel-shadow); text-align: center;
}
.ld-step-num {
  width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 18px; font-weight: 700; color: #04141b;
  background: linear-gradient(180deg, var(--cyan-2), var(--blue));
  box-shadow: 0 0 18px rgba(34,211,238,0.5);
}
.ld-step-title { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.ld-step-desc { font-size: 13.5px; line-height: 1.65; color: var(--muted); }

/* ============================================================
   ABONNEMENTEN
   ============================================================ */
.ld-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 22px; justify-content: center; }
@media (max-width: 780px) { .ld-plans { grid-template-columns: minmax(0, 420px); } }
.ld-plan {
  position: relative; border-radius: var(--radius); padding: 30px 28px;
  background: var(--panel); border: 1px solid var(--panel-border);
  box-shadow: var(--panel-shadow); display: flex; flex-direction: column;
}
.ld-plan-hot {
  border-color: rgba(34,211,238,0.4);
  box-shadow: var(--panel-shadow), 0 0 0 1px rgba(34,211,238,0.18), 0 0 44px -12px rgba(34,211,238,0.45);
  background: linear-gradient(180deg, rgba(34,211,238,0.05), var(--panel) 45%);
}
.ld-plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-size: 10.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: #04141b; padding: 5px 14px; border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan-2), var(--blue));
  box-shadow: 0 0 16px rgba(34,211,238,0.55);
}
.ld-plan-name { font-family: "Space Grotesk", "Manrope", sans-serif; font-size: 19px; font-weight: 700; letter-spacing: -0.2px; }
.ld-plan-desc { font-size: 13px; color: var(--muted); margin-top: 5px; }
.ld-plan-price { margin: 20px 0 4px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ld-plan-amount {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 38px; font-weight: 700; letter-spacing: -1.5px; line-height: 1;
}
.ld-plan-hot .ld-plan-amount {
  background: linear-gradient(90deg, var(--cyan-2), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 16px rgba(34,211,238,0.35));
}
.ld-plan-per { font-size: 12.5px; color: var(--faint); font-weight: 600; }
.ld-plan-feats { list-style: none; margin: 20px 0 26px; padding: 0; display: grid; gap: 12px; flex: 1; }
.ld-plan-feats li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.5; color: var(--text); }
.ld-plan-feats li svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; color: var(--green); }
.ld-plan-feats li.dim { color: var(--faint); }
.ld-plan-feats li.dim svg { color: var(--faint); }
.ld-plan .btn { width: 100%; justify-content: center; height: 44px; text-decoration: none; }
.ld-pricing-note { text-align: center; font-size: 12.5px; color: var(--faint); margin-top: 26px; }

/* ============================================================
   FAQ
   ============================================================ */
.ld-faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.ld-faq-item {
  border-radius: var(--radius); background: var(--panel);
  border: 1px solid var(--panel-border); box-shadow: var(--panel-shadow);
  overflow: hidden; transition: border-color .2s;
}
.ld-faq-item[open] { border-color: rgba(34,211,238,0.3); }
.ld-faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 22px; font-size: 14.5px; font-weight: 700;
}
.ld-faq-item summary::-webkit-details-marker { display: none; }
.ld-faq-item summary::after {
  content: ""; width: 9px; height: 9px; flex: 0 0 auto;
  border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint);
  transform: rotate(45deg); transition: transform .2s, border-color .2s; margin-top: -4px;
}
.ld-faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 4px; border-color: var(--cyan-2); }
.ld-faq-a { padding: 0 22px 20px; font-size: 13.5px; line-height: 1.7; color: var(--muted); }

/* ============================================================
   AFSLUITENDE CTA
   ============================================================ */
.ld-cta-band {
  position: relative; text-align: center; border-radius: calc(var(--radius) + 6px);
  padding: 72px 32px; overflow: hidden;
  background: var(--panel); border: 1px solid var(--panel-border);
  box-shadow: var(--panel-shadow);
}
.ld-cta-band::before {
  content: ""; position: absolute; width: 640px; height: 420px; left: 50%; top: -180px;
  transform: translateX(-50%); border-radius: 50%; filter: blur(80px); opacity: 0.4;
  background: radial-gradient(circle, rgba(34,211,238,0.5), rgba(59,130,246,0.3) 55%, transparent 75%);
  pointer-events: none;
}
.ld-cta-band .ld-h2 { position: relative; }
.ld-cta-band .ld-sec-sub { position: relative; margin-bottom: 32px; }
.ld-cta-band .btn { position: relative; height: 48px; padding: 0 26px; font-size: 14.5px; text-decoration: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.ld-footer { border-top: 1px solid var(--panel-border); padding: 56px 0 34px; position: relative; z-index: 1; }
.ld-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; margin-bottom: 40px; }
@media (max-width: 960px) { .ld-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .ld-footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.ld-footer-tag { margin-top: 12px; font-size: 13px; color: var(--faint); line-height: 1.6; }
.ld-footer-col-h { font-size: 11.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.ld-footer-col a { display: block; color: var(--muted); text-decoration: none; font-size: 13.5px; font-weight: 600; padding: 5px 0; transition: color .15s; }
.ld-footer-col a:hover { color: var(--cyan-2); }
/* platte tekstregels (bedrijfsgegevens), zelfde ritme als de links */
.ld-footer-line { color: var(--muted); font-size: 13.5px; font-weight: 600; line-height: 1.5; padding: 5px 0; }
.ld-footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  border-top: 1px solid var(--panel-border); padding-top: 24px;
}
.ld-footer-legal { font-size: 12px; color: var(--faint); }
.ld-langs { display: flex; flex-wrap: wrap; gap: 6px; }
.ld-langs button {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 7px;
  color: var(--faint); transition: color .15s, background .15s;
}
.ld-langs button:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.ld-langs button.on { color: var(--cyan-2); background: rgba(34,211,238,0.08); }

/* ============================================================
   SCROLL-REVEAL
   ============================================================ */
.ld-reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.ld-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ld-reveal { opacity: 1; transform: none; transition: none; }
  .ld-feat, .ld-feat:hover { transform: none; transition: none; }
}

/* ============================================================
   TAALKIEZER (header) + TERUG-NAAR-BOVEN
   ============================================================ */
.ld-langbtn { padding: 0 11px; gap: 7px; font-size: 12px; letter-spacing: 0.4px; }
.ld-langbtn svg { flex: 0 0 auto; }
.ld-langpop { min-width: 178px; }
.ld-langpop .ui-pop-item svg { flex: 0 0 auto; }

.ld-totop {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--muted);
  background: rgba(13,16,23,0.85);
  border: 1px solid var(--panel-border);
  box-shadow: 0 14px 34px -14px rgba(0,0,0,0.85);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, color .15s, border-color .15s, box-shadow .15s;
}
.ld-totop.show { opacity: 1; transform: none; pointer-events: auto; }
.ld-totop:hover {
  color: var(--cyan-2); border-color: rgba(34,211,238,0.4);
  box-shadow: 0 14px 34px -14px rgba(0,0,0,0.85), 0 0 18px -4px rgba(34,211,238,0.5);
}
.ld-totop svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) { .ld-totop { transition: none; transform: none; } }
