/* ============================================================
   hero.css — Hero section, pill badge, CTA, app screenshot mock
   ============================================================ */

/* ── HERO ────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  padding: 80px 0 60px;
  text-align: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px 5px 6px;
  border-radius: 99px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  font-size: 12px;
  color: var(--t1);
  margin-bottom: 26px;
}
.pill-tag {
  background: var(--acc-soft);
  color: var(--acc2);
  padding: 2px 8px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--t0);
  font-weight: 700;
  margin: 0 0 22px;
  font-feature-settings: "ss01" on;
}
h1 .highlight {
  background: linear-gradient(
    135deg,
    var(--acc2) 0%,
    #bda6ff 50%,
    #f5c860 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 600;
}
.lede {
  font-size: 18.5px;
  color: var(--t1);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.5;
}
.hero-cta {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.hero-meta {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--t2);
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.check {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
}

/* ── APP SHOT (3-pane mock) ──────────────────────────── */
.shot {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 54px auto 0;
  border-radius: 14px;
  background: var(--bg1);
  border: 1px solid var(--pb);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 20px 40px -10px rgba(0, 0, 0, 0.12),
    0 8px 20px -8px rgba(102, 116, 255, 0.08);
  overflow: hidden;
}
.shot::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(102, 116, 255, 0.08),
    transparent 30%
  );
  z-index: -1;
}
.shot-bar {
  height: 34px;
  background: var(--bg1);
  border-bottom: 1px solid var(--pb);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
}
.tl {
  display: flex;
  gap: 6px;
}
.tl span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg3);
}
.tl span:nth-child(1) {
  background: #e05858;
}
.tl span:nth-child(2) {
  background: #f0a020;
}
.tl span:nth-child(3) {
  background: #22a878;
}
.shot-bar-title {
  margin-left: 8px;
  font-size: 12px;
  color: var(--t2);
  display: flex;
  align-items: center;
  gap: 7px;
}
.shot-bar-title .badge {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(180deg, #7a86ff 0%, var(--acc) 100%);
  display: inline-block;
}
.shot-body {
  display: grid;
  grid-template-columns: 200px 1px 280px 1px minmax(0, 1fr);
  height: 560px;
  overflow: hidden;
}
.shot-divider {
  background: var(--pb);
}

/* sidebar 1 */
.sb-section {
  padding: 8px 12px;
  font-size: 10px;
  color: var(--t3);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--pb);
}
.ws-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 12.5px;
  color: var(--t1);
  position: relative;
}
.ws-row .dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}
.ws-row .ct {
  margin-left: auto;
  font-size: 11px;
  color: var(--t3);
  font-family: "IBM Plex Mono", monospace;
}
.ws-row.sel {
  background: rgba(102, 116, 255, 0.08);
  color: var(--t0);
  font-weight: 500;
}
.ws-row.sel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--acc);
}

/* sidebar 2 (folders + prompts) */
.pane2 {
  display: flex;
  flex-direction: column;
}
.search {
  padding: 10px 12px;
  border-bottom: 1px solid var(--pb);
}
.search-input {
  width: 100%;
  background: var(--bg0);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 6px 10px;
  font-size: 12px;
  color: var(--t1);
  outline: none;
  font-family: inherit;
}
.pane2-list {
  flex: 1;
  overflow-y: auto;
}
.folder-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--t1);
  cursor: pointer;
}
.folder-row svg {
  flex-shrink: 0;
  color: #7b88ff;
}
.prompt-row {
  padding: 7px 12px 7px 28px;
  border-bottom: 1px solid var(--bg3);
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.prompt-row.sel {
  background: var(--bg3);
  position: relative;
}
.prompt-row.sel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--acc);
}
.prompt-row .ic {
  margin-top: 2px;
  color: var(--t3);
}
.prompt-row.sel .ic {
  color: #8ab4f8;
}
.prompt-title {
  font-size: 12px;
  color: var(--t1);
}
.prompt-row.sel .prompt-title {
  color: var(--t0);
  font-weight: 600;
}
.prompt-meta {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 3px;
}
.tag-var {
  font-size: 10.5px;
  font-family: "IBM Plex Mono", monospace;
  color: var(--green);
  background: var(--green-soft);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 500;
}
.tag-tag {
  font-size: 10.5px;
  font-family: "IBM Plex Mono", monospace;
  color: var(--t2);
  background: var(--bg3);
  padding: 1px 6px;
  border-radius: 4px;
}
.tag-time {
  font-size: 10.5px;
  font-family: "IBM Plex Mono", monospace;
  color: var(--t3);
  margin-left: auto;
}

/* editor pane */
.editor {
  display: flex;
  flex-direction: column;
  background: var(--bgE);
  min-width: 0;
  overflow: hidden;
}
.editor-head {
  padding: 12px 16px 0;
  border-bottom: 1px solid var(--pb);
}
.editor-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.editor-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--t0);
  flex: 1;
}
.editor-fav {
  color: var(--amber);
}
.editor-tags {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.editor-tabs {
  display: flex;
  gap: 0;
  margin-top: 8px;
}
.editor-tab {
  padding: 8px 14px;
  font-size: 12.5px;
  color: var(--t2);
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 6px;
}
.editor-tab.active {
  color: var(--acc);
  border-bottom-color: var(--acc);
  font-weight: 600;
}
.editor-body {
  flex: 1;
  display: flex;
  overflow: hidden;
  min-width: 0;
}
.lineno {
  width: 42px;
  background: var(--bgE);
  border-right: 1px solid var(--pb);
  text-align: right;
  padding: 10px 8px 0 0;
  color: var(--t3);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  line-height: 22px;
  flex-shrink: 0;
  user-select: none;
}
.code {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  line-height: 22px;
  color: var(--t0);
  white-space: pre-wrap;
  word-break: break-word;
  text-align: left;
  overflow: hidden;
}
.code .var {
  color: var(--green);
  background: var(--green-soft);
  border-radius: 3px;
  padding: 0 5px;
  font-weight: 600;
}
.code .com {
  color: var(--t3);
  font-style: italic;
}
.editor-foot {
  border-top: 1px solid var(--pb);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  min-width: 0;
}
.editor-foot .left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--t2);
  font-family: "IBM Plex Mono", monospace;
  min-width: 0;
  overflow: hidden;
}
.editor-foot .model {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 6px;
  font-size: 11px;
  color: var(--t1);
}
.copy-btn {
  margin-left: auto;
  flex-shrink: 0;
  background: var(--acc);
  color: #fff;
  border: none;
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
