/* LogicBlock 2 landing page — same look as the LogicBlock 2 store art */
.logicblock-page {
  --lb-bg: #121418;
  --lb-panel: #1b1e23;
  --lb-panel-2: #22252b;
  --lb-line: rgba(255, 255, 255, 0.07);
  --lb-line-2: #2d3138;
  --lb-yellow: #f1c437;
  --lb-yellow-hi: #ffe07a;
  --lb-orange: #f0a020;
  --lb-text: #eef0f3;
  --lb-body: #9ea4ad;
  --lb-muted: #6f757e;
  --lb-font: 'Inter', system-ui, sans-serif;
  background: var(--lb-bg);
  font-family: var(--lb-font);
  font-optical-sizing: auto;
  font-weight: 400;
  color: var(--lb-text);
}

/* background: dot grid + faint block trees (drawn by logicblock-2.js) */
#lb-field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.logicblock-page::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 72% 18%, rgba(241, 180, 55, 0.07), transparent 70%),
    linear-gradient(180deg, rgba(18, 20, 24, 0) 0%, rgba(16, 18, 21, 0.55) 100%);
}

.logicblock-page main,
.logicblock-page footer { position: relative; z-index: 2; }

.logicblock-page h1, .logicblock-page h2, .logicblock-page h3,
.logicblock-page p, .logicblock-page figure { margin-top: 0; }

.logicblock-page svg { width: 1em; height: 1em; flex: 0 0 auto; }

/* shared nav, recoloured for this page */
.logicblock-page #main-nav.scrolled {
  background: rgba(16, 18, 21, 0.86);
  border-bottom-color: rgba(241, 196, 55, 0.1);
}
.logicblock-page .nav-cta {
  color: var(--lb-yellow) !important;
  border-color: rgba(241, 196, 55, 0.35);
}
.logicblock-page .nav-cta:hover {
  background: rgba(241, 196, 55, 0.1) !important;
  border-color: var(--lb-yellow) !important;
}
.logicblock-page .mobile-link:hover { color: var(--lb-yellow); }
.logicblock-page #footer { background: rgba(14, 16, 19, 0.8); border-top: 1px solid var(--lb-line); }
.logicblock-page #footer a:hover { color: var(--lb-yellow); }

/* type */
.logicblock-page h1,
.logicblock-page h2 {
  font-family: var(--lb-font);
  font-weight: 800;
  background: linear-gradient(180deg, #ffffff 30%, #c9d0da 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logicblock-page h1 span,
.logicblock-page h2 span {
  background: linear-gradient(180deg, var(--lb-yellow-hi) 0%, var(--lb-yellow) 45%, var(--lb-orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lb-eyebrow,
.lb-asset-label {
  margin-bottom: 16px;
  color: var(--lb-yellow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.lb-body {
  max-width: 560px;
  color: var(--lb-body);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
}
.lb-body strong { color: var(--lb-text); font-weight: 700; }

.lb-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 8px 16px 8px 11px;
  border: 1px solid rgba(241, 196, 55, 0.35);
  border-radius: 9px;
  background: rgba(241, 196, 55, 0.08);
  color: #f4d27a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

/* buttons */
.lb-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.lb-actions svg { width: 16px; height: 16px; }

.lb-btn-primary,
.lb-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 12px;
  font: 700 15px var(--lb-font);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.lb-btn-primary {
  background: linear-gradient(180deg, #ffd85c, #f1b52c);
  color: #17191d;
  box-shadow: 0 10px 30px rgba(241, 180, 40, 0.25), inset 0 1px rgba(255, 255, 255, 0.45);
}
.lb-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(241, 180, 40, 0.38), inset 0 1px rgba(255, 255, 255, 0.45); }

.lb-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--lb-text);
}
.lb-btn-ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.08); }

/* new release sale */
.lb-sale-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  padding: 8px 16px 8px 13px;
  border: 1px solid rgba(255, 122, 92, 0.45);
  border-radius: 999px;
  background: rgba(255, 122, 92, 0.1);
  color: #ffb39c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.lb-sale-tag svg { width: 15px; height: 15px; color: #ff8a6b; }

.lb-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin: -8px 0 26px;
}
.lb-price strong {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--lb-text);
}
.lb-price s {
  color: var(--lb-muted);
  font-size: 19px;
  font-weight: 600;
}
.lb-save {
  align-self: center;
  padding: 4px 10px;
  border-radius: 7px;
  background: linear-gradient(180deg, #ffd85c, #f1b52c);
  color: #17191d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.logicblock-page .lb-cta .lb-cta-sale {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: -12px auto 30px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 122, 92, 0.35);
  border-radius: 12px;
  background: rgba(255, 122, 92, 0.08);
  color: #ffc3b1;
  font-size: 15px;
}
.lb-cta-sale svg { width: 17px; height: 17px; color: #ff8a6b; }
.lb-cta-sale strong { color: #fff; font-weight: 800; }
.lb-cta-sale s { color: #a58a83; }

/* hero */
.lb-hero {
  min-height: 860px;
  display: grid;
  align-items: center;
  padding: 120px 5% 60px;
  overflow: hidden;
}

.lb-hero-inner {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 48px;
  align-items: center;
}

.lb-hero h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(42px, 4.7vw, 70px);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.lb-lede {
  max-width: 540px;
  margin-bottom: 34px;
  color: var(--lb-body);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.65;
}

.lb-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
  color: var(--lb-muted);
  font-size: 13px;
  font-weight: 500;
}
.lb-trust-row span + span { padding-left: 16px; border-left: 1px solid var(--lb-line-2); }
.lb-trust-row strong { color: var(--lb-body); font-weight: 700; }

.lb-hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}
.lb-hero-visual img {
  position: relative;
  width: min(520px, 100%);
  height: auto;
}
.lb-glow {
  position: absolute;
  width: 520px;
  height: 480px;
  max-width: 100%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(241, 180, 55, 0.22), transparent 66%);
  filter: blur(18px);
}

/* sections */
.lb-section { position: relative; border-top: 1px solid var(--lb-line); }
.lb-shade { background: rgba(10, 11, 14, 0.35); }

.lb-inner {
  width: min(1240px, 90%);
  margin: 0 auto;
  padding: 120px 0;
}

.lb-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 90px;
  align-items: center;
}
.lb-two-col.lb-art-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }

.lb-section h2,
.lb-cta h2 {
  margin-bottom: 22px;
  font-size: clamp(36px, 4.4vw, 62px);
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.lb-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 52px;
}
.lb-heading .lb-body { max-width: 400px; margin-bottom: 26px; }

.lb-art { margin: 0; }
.lb-art img { display: block; width: 100%; height: auto; }
.lb-art-narrow img { max-width: 520px; margin: 0 auto; }
.lb-art-wide { max-width: 1100px; margin: 0 auto; }

.lb-check-list {
  display: grid;
  gap: 11px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: #c3c8cf;
  font-size: 15px;
  font-weight: 500;
}
.lb-check-list li { display: flex; align-items: flex-start; gap: 11px; }
.lb-check-list svg {
  width: 20px;
  height: 20px;
  padding: 3px;
  margin-top: 1px;
  border-radius: 6px;
  background: rgba(241, 196, 55, 0.14);
  color: var(--lb-yellow);
}

/* three assets */
.lb-asset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.lb-asset-card {
  display: flex;
  flex-direction: column;
  padding: 34px 30px 0;
  overflow: hidden;
  border: 1px solid var(--lb-line-2);
  border-radius: 22px;
  background: var(--lb-panel);
}
.lb-asset-icon { width: 60px; height: 60px; margin-bottom: 24px; }
.lb-asset-card h3 { margin-bottom: 8px; font-size: 27px; font-weight: 800; letter-spacing: -0.03em; }
.lb-asset-label { margin-bottom: 14px; font-size: 11px; }
.lb-asset-card > p:not(.lb-asset-label) { margin-bottom: 26px; color: var(--lb-body); font-size: 15px; font-weight: 500; line-height: 1.6; }
.lb-asset-art { display: block; width: calc(100% + 40px); max-width: none; height: auto; margin: auto -20px -14px; }

.logicblock-page .lb-create {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  margin: 40px auto 0;
  padding: 14px 26px;
  border-radius: 14px;
  background: var(--lb-panel-2);
  color: #e8e8e8;
  font-size: 16px;
}
.lb-create svg { width: 20px; height: 20px; color: var(--lb-yellow); }
.lb-create em { color: #7d8189; font-style: normal; }
.lb-create strong { color: var(--lb-yellow); font-weight: 500; }

/* run / check / stop */
.lb-control-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: start;
}
.lb-panel-card { margin: 0; }
.lb-panel-card img { display: block; width: 100%; height: auto; }
.lb-control-side { display: grid; gap: 24px; }
.lb-many { padding: 10px 0; }

.lb-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.lb-mini-grid > div {
  padding: 22px;
  border: 1px solid var(--lb-line-2);
  border-radius: 16px;
  background: var(--lb-panel);
}
.lb-mini-grid svg { width: 22px; height: 22px; color: var(--lb-yellow); }
.lb-mini-grid strong { display: block; margin: 12px 0 4px; font-size: 16px; font-weight: 700; }
.lb-mini-grid p { margin: 0; color: var(--lb-body); font-size: 14px; font-weight: 500; line-height: 1.55; }

/* examples */
.lb-example-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.lb-example-grid article {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--lb-line-2);
  border-radius: 20px;
  background: var(--lb-panel);
}
.lb-num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border: 1px solid rgba(241, 196, 55, 0.45);
  border-radius: 11px;
  background: rgba(241, 196, 55, 0.12);
  color: var(--lb-yellow);
  font-size: 19px;
  font-weight: 800;
}
.lb-example-grid h3 { margin-bottom: 8px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.lb-example-grid p { margin-bottom: 22px; color: var(--lb-body); font-size: 14px; font-weight: 500; line-height: 1.6; }
.lb-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 9px 12px;
  border: 2px solid #242424;
  border-radius: 7px;
  background: #3e3e3e;
  color: #d2d2d2;
  font-size: 14px;
}

/* call to action */
.lb-cta { position: relative; border-top: 1px solid var(--lb-line); text-align: center; overflow: hidden; }
.lb-cta::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 40px;
  width: 640px;
  height: 420px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(241, 180, 55, 0.16), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}
.lb-cta-inner { position: relative; width: min(760px, 90%); margin: 0 auto; padding: 130px 0; }
.lb-cta-icon { width: 92px; height: 92px; margin-bottom: 30px; filter: drop-shadow(0 0 30px rgba(241, 196, 55, 0.35)); }
.lb-cta p { margin: 0 auto 34px; max-width: 560px; text-wrap: balance; color: var(--lb-body); font-size: 18px; font-weight: 500; line-height: 1.65; }
.lb-cta .lb-actions { justify-content: center; }

/* responsive */
@media (max-width: 1080px) {
  .lb-example-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lb-asset-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

@media (max-width: 900px) {
  .lb-hero { min-height: 0; padding-top: 130px; }
  .lb-hero-inner, .lb-two-col, .lb-two-col.lb-art-left, .lb-control-grid { grid-template-columns: 1fr; gap: 48px; }
  .lb-hero-visual img { width: min(380px, 80%); }
  .lb-two-col.lb-art-left .lb-art { order: 2; }
  .lb-heading { flex-direction: column; align-items: flex-start; gap: 0; }
  .lb-heading .lb-body { margin-bottom: 0; }
  .lb-inner { padding: 90px 0; }
  .lb-control-grid .lb-panel-card:first-child { max-width: 460px; }
}

@media (max-width: 560px) {
  .lb-example-grid, .lb-mini-grid { grid-template-columns: 1fr; }
  .lb-trust-row span + span { padding-left: 0; border-left: 0; }
  .lb-create { font-size: 14px; }
}

