/* SYNAPSE — /launch/ Zero-Key AgentDev Launchpad (Emerald-Obsidian Grid + Minimal Pro Layout) */

:root {
  --lnc-void: #020010;
  --lnc-white: #ffffff;
  --lnc-muted: rgba(244, 244, 250, 0.84);
  --lnc-dim: rgba(228, 228, 242, 0.62);
  --lnc-mint: #C4B5FD;
  --lnc-hair: rgba(164, 146, 237, 0.14);
  --font-display: "DM Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; }

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--lnc-void);
  color: var(--lnc-white);
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}

.lnc-shell {
  position: relative;
  min-height: 100vh;
  background-color: var(--lnc-void);
  background-image:
    radial-gradient(ellipse 92% 36% at 54% 0%, rgba(124, 77, 255, 0.25) 0%, rgba(78, 42, 168, 0.14) 44%, transparent 76%),
    linear-gradient(180deg, rgba(109, 63, 234, 0.22) 0%, rgba(38, 22, 88, 0.14) 26%, rgba(6, 3, 24, 0.06) 52%, #020010 82%);
}

.lnc-grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(196, 181, 253, 0.064) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(196, 181, 253, 0.064) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.45) 52%, rgba(0, 0, 0, 0.04) 94%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.45) 52%, rgba(0, 0, 0, 0.04) 94%);
}

.lnc-grid-flares {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(circle 1.5px at 0 0, rgba(215, 201, 255, 0.32) 0%, rgba(164, 146, 237, 0.12) 40%, transparent 100%);
  background-size: 58px 58px;
  opacity: 0.6;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 45%, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 45%, transparent 80%);
}

.lnc-wrap {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  margin: 0 auto;
  padding: 10px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

/* Monochrome Buttons & Pills (No Colored Fills) */
.lnc-btn-primary,
.lnc-btn-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  outline: none;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease, opacity 0.14s ease;
}

.lnc-btn-primary {
  height: 30px;
  padding: 0 13px;
  border-radius: 9px;
  background: #FFFFFF;
  border: 1px solid #FFFFFF;
  color: #000000;
  font-size: 11.5px;
  font-weight: 600;
}
.lnc-btn-primary:hover { opacity: 0.92; }
.lnc-btn-primary:disabled { opacity: 0.5; cursor: wait; }

.lnc-btn-mini {
  height: 24px;
  padding: 0 9px;
  border-radius: 7px;
  font-size: 10.5px;
  background: #141418;
  border: 1px solid #26262e;
  color: #e4e4e7;
}
.lnc-btn-mini:hover:not(.is-active) { border-color: rgba(255, 255, 255, 0.4); color: #ffffff; }
.lnc-btn-mini.is-active { background: #FFFFFF; border-color: #FFFFFF; color: #000000; font-weight: 600; }

.is-mint { color: var(--lnc-mint); }
.is-hidden { display: none !important; }

/* Topbar */
.lnc-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  flex-wrap: wrap;
}

.lnc-brand-row,
.lnc-top-right,
.lnc-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lnc-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #FFFFFF;
}

.lnc-logo-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(164, 146, 237, 0.25);
  background: #09061A;
}
.lnc-logo-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lnc-brand-name { font-family: var(--font-display); font-size: 14px; font-weight: 600; }
.lnc-sep { color: rgba(255, 255, 255, 0.16); font-size: 12px; }
.lnc-net-meta { font-size: 10.5px; color: var(--lnc-dim); }

/* 2-Col Balanced Workspace */
.lnc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.98fr);
  gap: 12px;
  align-items: start;
}

.lnc-builder,
.lnc-preview-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 0;
}

.lnc-card {
  border-radius: 15px;
  padding: 11px 14px;
  background:
    radial-gradient(ellipse 85% 60% at 14% 0%, rgba(124, 77, 255, 0.11) 0%, transparent 58%),
    linear-gradient(155deg, rgba(18, 12, 42, 0.36) 0%, rgba(7, 4, 22, 0.74) 54%, rgba(4, 6, 9, 0.88) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--lnc-hair);
  box-shadow: inset 0 1px 0 rgba(215, 201, 255, 0.12), 0 12px 32px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lnc-card-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.lnc-card-title { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: #FFFFFF; }
.lnc-card-sub { font-size: 10px; color: var(--lnc-dim); font-weight: 500; }

/* Media Uploaders */
.lnc-media-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.lnc-upload-logo,
.lnc-upload-banner {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px dashed rgba(164, 146, 237, 0.24);
  background: #09061A;
  cursor: pointer;
  display: block;
}

.lnc-upload-logo { width: 72px; height: 72px; flex-shrink: 0; }
.lnc-upload-banner { flex: 1 1 auto; height: 72px; min-width: 0; }
.lnc-upload-logo img,
.lnc-upload-banner img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.72; transition: opacity 0.15s ease; }
.lnc-upload-logo:hover img,
.lnc-upload-banner:hover img { opacity: 0.92; }

.lnc-upload-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 3px 6px;
  font-size: 9px;
  font-weight: 600;
  text-align: center;
  background: rgba(3, 5, 7, 0.78);
  color: #FFFFFF;
}

/* Inputs */
.lnc-row-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.lnc-row-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }

.lnc-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.lnc-field span { font-size: 9.5px; color: var(--lnc-dim); font-weight: 500; }
.lnc-field input,
.lnc-field textarea {
  width: 100%;
  min-width: 0;
  border-radius: 8px;
  background: #09061A;
  border: 1px solid #26262e;
  padding: 6px 9px;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 11.5px;
  outline: none;
  resize: none;
}
.lnc-field input:focus,
.lnc-field textarea:focus { border-color: rgba(164, 146, 237, 0.55); }

/* Fee Split Bar */
.lnc-split-bar {
  height: 7px;
  border-radius: 999px;
  background: #141418;
  overflow: hidden;
  display: flex;
}
.lnc-split-agent { background: linear-gradient(90deg, #7C4DFF, #C4B5FD); transition: width 0.18s ease; }
.lnc-split-dev { background: #ffffff; transition: width 0.18s ease; }

.lnc-fee-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.lnc-fee-stat { display: flex; flex-direction: column; gap: 2px; }
.lnc-fee-stat.is-right { text-align: right; }
.lnc-fee-stat span { font-size: 9.5px; color: var(--lnc-dim); }
.lnc-fee-stat strong { font-size: 12px; font-weight: 600; }

.lnc-slider-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.lnc-slider {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 140px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}
.lnc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #020010;
  cursor: pointer;
}
.lnc-presets { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.lnc-hint { font-size: 10px; color: var(--lnc-dim); line-height: 1.35; }

/* Protocol Toggles & Initial Buy */
.lnc-toggles,
.lnc-archetypes,
.lnc-agent-modules { display: flex; flex-wrap: wrap; gap: 5px; }

.lnc-init-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}
.lnc-init-hdr { display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: var(--lnc-dim); }
.lnc-init-hdr strong { color: #FFFFFF; }
.lnc-buy-input {
  width: 58px;
  height: 24px;
  border-radius: 7px;
  background: #141418;
  border: 1px solid #26262e;
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 600;
  padding: 0 6px;
  outline: none;
}

/* Independent Agent Card */
.lnc-agent-hdr-l {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lnc-agent-orb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(164, 146, 237, 0.35);
}
.lnc-brain-row-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.lnc-mini-slider { display: flex; flex-direction: column; gap: 3px; }
.lnc-mini-slider span { display: flex; justify-content: space-between; font-size: 9.5px; color: var(--lnc-dim); }
.lnc-mini-slider strong { color: #FFFFFF; }
.lnc-mini-slider input { width: 100%; accent-color: #FFFFFF; height: 3px; }
.lnc-agent-summary {
  font-size: 10px;
  color: var(--lnc-muted);
  line-height: 1.35;
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(5, 10, 11, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Right Preview */
.lnc-preview-card { position: static; }
.lnc-pv-spot {
  border-radius: 12px;
  padding: 9px;
  background: rgba(5, 10, 11, 0.78);
  border: 1px solid rgba(164, 146, 237, 0.16);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.lnc-pv-banner { height: 72px; border-radius: 8px; overflow: hidden; background: #09061A; }
.lnc-pv-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lnc-pv-mid { display: flex; align-items: flex-end; justify-content: space-between; margin-top: -24px; padding: 0 6px; }
.lnc-pv-ava { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid #050214; background: #141418; }
.lnc-pv-socials { font-size: 10px; color: var(--lnc-mint); font-weight: 500; }
.lnc-pv-title-row { display: flex; align-items: baseline; gap: 7px; }
.lnc-pv-title-row strong { font-size: 15px; font-weight: 600; color: #FFFFFF; }
.lnc-pv-title-row span { font-size: 11px; color: var(--lnc-dim); font-weight: 600; }
.lnc-pv-desc { font-size: 10.5px; color: var(--lnc-muted); line-height: 1.38; min-height: 28px; }

.lnc-pv-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.lnc-pv-kpis div { display: flex; flex-direction: column; gap: 2px; }
.lnc-pv-kpis span { font-size: 9px; color: var(--lnc-dim); }
.lnc-pv-kpis strong { font-size: 12px; font-weight: 600; }

.lnc-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 10.5px;
}
.lnc-summary-rows div { display: flex; justify-content: space-between; gap: 8px; }
.lnc-summary-rows span { color: var(--lnc-dim); }
.lnc-summary-rows strong { color: #FFFFFF; font-weight: 500; text-align: right; }

.lnc-launch-btn { width: 100%; height: 34px; font-size: 12px; }
.lnc-status { font-size: 10.5px; color: var(--lnc-dim); text-align: center; }

.lnc-receipt {
  border-radius: 10px;
  padding: 9px 10px;
  background: rgba(12, 8, 30, 0.65);
  border: 1px solid rgba(164, 146, 237, 0.25);
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 10.5px;
}
.lnc-receipt-row { display: flex; justify-content: space-between; gap: 8px; }
.lnc-receipt-row span { color: var(--lnc-dim); }
.lnc-receipt-row strong { color: #FFFFFF; font-family: ui-monospace, monospace; }
.lnc-open-tok { width: 100%; margin-top: 3px; }

/* Mobile / Phone Responsive */
@media (max-width: 900px) {
  .lnc-wrap { padding: 10px 12px 28px; }
  .lnc-grid { grid-template-columns: 1fr; }
  .lnc-row-2,
  .lnc-row-3,
  .lnc-brain-row-3 { grid-template-columns: 1fr; }
  .lnc-net-meta { display: none; }
}

/* =====================================================================
   WIMAI.FUN COSMIC GLASS DESIGN SYSTEM (Matches Framer Landing Page)
   ===================================================================== */
.lnc-wrap {
  max-width: 1260px;
  padding: 20px 28px 56px;
  gap: 18px;
}

.lnc-topbar {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(164, 146, 237, 0.14);
}

.lnc-nav {
  background: rgba(10, 6, 28, 0.74);
  border: 1px solid rgba(164, 146, 237, 0.16);
  border-radius: 999px;
  padding: 3px 4px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lnc-grid {
  gap: 18px;
}

.lnc-builder,
.lnc-preview-col {
  gap: 16px;
}

.lnc-card {
  border-radius: 22px;
  padding: 18px 20px;
  gap: 12px;
  background:
    radial-gradient(120% 85% at 14% 0%, rgba(124, 77, 255, 0.12) 0%, transparent 56%),
    linear-gradient(180deg, rgba(16, 11, 36, 0.88) 0%, rgba(7, 4, 22, 0.94) 100%);
  border: 1px solid rgba(164, 146, 237, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(215, 201, 255, 0.12),
    0 20px 48px -14px rgba(2, 0, 16, 0.90);
  transition: border-color 0.2s ease;
}

.lnc-card:hover {
  border-color: rgba(196, 181, 253, 0.28);
}

.lnc-card-title {
  font-size: 14px;
  letter-spacing: -0.02em;
}

.lnc-upload-logo,
.lnc-upload-banner {
  border-radius: 14px;
  border-color: rgba(164, 146, 237, 0.24);
  background: #09061A;
}

.lnc-field input,
.lnc-field textarea,
.lnc-buy-input {
  border-radius: 12px;
  background: #09061A;
  border: 1px solid rgba(164, 146, 237, 0.18);
  padding: 9px 12px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.lnc-field input:focus,
.lnc-field textarea:focus,
.lnc-buy-input:focus {
  border-color: rgba(196, 181, 253, 0.52);
  box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.16);
}

.lnc-receipt {
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(10, 6, 28, 0.78);
  border: 1px solid rgba(164, 146, 237, 0.18);
}
