/* studio.css — Atölye (otonom kodlama ajanları) */
.st-hero { text-align: center; padding: 30px 0 40px; display: flex; flex-direction: column; align-items: center; }
.st-soon { margin-bottom: 20px; }
.st-h1 { font-size: clamp(34px, 5.5vw, 60px); letter-spacing: -0.035em; line-height: 1.02; }
.st-sub { font-size: clamp(16px, 2.2vw, 19px); color: var(--text-2); max-width: 640px; line-height: 1.6; margin: 22px 0 32px; }
.st-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.st-wait { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.st-wait .input { width: 280px; height: 50px; }
.st-cta-note { font-size: 13px; color: var(--muted); }

.st-section { padding: 44px 0; }
.st-h2 { font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -0.03em; margin-bottom: 12px; }
.st-section-sub { color: var(--text-2); font-size: 16px; max-width: 600px; line-height: 1.55; margin: 0 0 28px; }
.st-cap { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 18px auto 0; max-width: 760px; text-align: center; }
.st-cap b { color: var(--text-2); }

/* frame (canvas / gantt container) */
.st-frame { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.st-frame-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); flex-wrap: wrap; }

/* node graph */
.graph-frame { width: 100%; overflow: hidden; position: relative;
  background-color: var(--bg-1);
  background-image: radial-gradient(var(--border-2) 1px, transparent 1px);
  background-size: 22px 22px; }
[data-theme="light"] .graph-frame { background-color: #fbfcfd; }
.graph-canvas { width: 1000px; height: 540px; position: relative; transform-origin: top left; }
.graph-edges { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.graph-elabel { fill: var(--accent-bright); font-family: var(--mono); font-size: 13px; }
[data-theme="light"] .graph-elabel { fill: var(--accent-deep); }

.gnode { position: absolute; border: 1px solid var(--border-2); border-radius: 13px; background: var(--surface); box-shadow: 0 6px 20px -8px rgba(0,0,0,.4); overflow: visible; }
.gnode-bar { position: absolute; top: -1px; left: 14px; right: 14px; height: 3px; border-radius: 0 0 3px 3px; }
.gnode-body { padding: 13px 16px; }
.gnode-title { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-weight: 600; font-size: 15px; color: var(--text); }
.gnode-dot { width: 9px; height: 9px; border-radius: 99px; flex: none; }
.gnode-role { font-size: 12.5px; color: var(--muted); margin-top: 3px; padding-left: 18px; }
.gnode-h { position: absolute; width: 11px; height: 11px; border-radius: 99px; background: var(--surface); border: 1.5px solid var(--border-2); }
.gnode-h.h-t { top: -6px; left: 50%; margin-left: -5.5px; }
.gnode-h.h-b { bottom: -6px; left: 50%; margin-left: -5.5px; }
.gnode-h.h-l { left: -6px; top: 50%; margin-top: -5.5px; }
.gnode-h.h-r { right: -6px; top: 50%; margin-top: -5.5px; }

/* model selection */
.st-models { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.st-model { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.st-model:hover { transform: translateY(-2px); border-color: var(--border-2); }
.st-model.on { border-color: var(--accent-line); background: var(--accent-soft); }
.st-model-ic { width: 40px; height: 40px; border-radius: 11px; flex: none; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 19px; font-weight: 700; }
.st-model-name { font-weight: 650; font-size: 15px; }
.st-model-org { font-size: 12px; color: var(--muted); margin-top: 1px; }
.st-model-tag { font-size: 11px; color: var(--muted); border: 1px solid var(--border); border-radius: 99px; padding: 3px 8px; white-space: nowrap; flex: none; }
.st-model-tag.def { color: var(--accent-bright); border-color: var(--accent-line); background: var(--accent-soft); }
[data-theme="light"] .st-model-tag.def { color: var(--accent-deep); }

/* wizard */
.st-wizard { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.st-step { border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); padding: 16px; transition: border-color .15s ease, box-shadow .15s ease; }
.st-step:hover { border-color: var(--border-2); box-shadow: 0 2px 10px -4px rgba(0,0,0,.2); }
.st-step-n { width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-bright); border: 1px solid var(--accent-line); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 700; font-size: 13px; margin-bottom: 12px; }
[data-theme="light"] .st-step-n { color: var(--accent-deep); }
.st-step-t { font-weight: 650; font-size: 14.5px; margin-bottom: 10px; line-height: 1.3; }
.st-step-d { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 0; }
.st-step-items { display: flex; flex-direction: column; gap: 6px; }
.st-pick { font-size: 12px; padding: 7px 9px; border-radius: 7px; border: 1px solid var(--border); color: var(--text-2); background: var(--surface-2); }
.st-pick.on { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent-bright); }
[data-theme="light"] .st-pick.on { color: var(--accent-deep); }

/* gantt */
.st-gantt { padding: 8px 16px 16px; }
.st-gantt-x { display: flex; justify-content: flex-end; gap: 12%; font-family: var(--mono); font-size: 11px; color: var(--faint); padding: 8px 0 8px 168px; border-bottom: 1px solid var(--border); }
.st-gantt-row { display: flex; align-items: center; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--border); }
.st-gantt-row:last-child { border-bottom: none; }
.st-gantt-lbl { width: 156px; flex: none; display: flex; flex-direction: column; }
.st-gantt-lbl b { font-family: var(--mono); font-size: 13.5px; font-weight: 600; }
.st-gantt-lbl span { font-size: 11.5px; color: var(--muted); }
.st-gantt-track { position: relative; height: 26px; flex: 1; min-width: 0; }
.st-bar { position: absolute; top: 2px; height: 22px; border-radius: 6px; display: flex; align-items: center; padding: 0 8px; overflow: hidden; box-shadow: 0 2px 8px -2px rgba(0,0,0,.4); }
.st-bar span { font-size: 11.5px; color: #062018; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* palette */
.st-palette { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.st-pal { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); }
.st-pal-t { font-weight: 650; font-size: 14px; }
.st-pal-s { font-size: 12px; color: var(--muted); margin-top: 1px; }

/* nav "soon" dot */
.nav-soon { display: inline-flex; align-items: center; gap: 6px; }
.nav-soon::after { content: "Yakında"; font-size: 9.5px; font-weight: 700; font-family: var(--mono); letter-spacing: .03em; color: var(--accent-bright); background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 99px; padding: 1px 6px; }
[data-theme="light"] .nav-soon::after { color: var(--accent-deep); }

/* graph node hover */
.gnode { transition: transform .15s ease, box-shadow .15s ease; cursor: pointer; }
.gnode:hover { transform: translateY(-2px); box-shadow: 0 6px 18px -4px rgba(0,0,0,.35); }
.gnode:active { transform: translateY(0); }

@media (max-width: 900px) {
  .st-palette { grid-template-columns: 1fr; }
  .graph-frame { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 760px) {
  .st-gantt-x { padding-left: 120px; }
  .st-gantt-lbl { width: 108px; }
}
.nav-live { display: inline-flex; align-items: center; gap: 6px; }
.nav-live::after { content: ""; width: 6px; height: 6px; border-radius: 99px; background: #34d399; box-shadow: 0 0 8px #34d399; }

@media (max-width: 900px) {
  .st-wizard { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .st-gantt-x { padding-left: 110px; }
  .st-gantt-lbl { width: 100px; }
}
@media (max-width: 540px) {
  .st-wizard { grid-template-columns: 1fr; }
  .st-wait .input { width: 100%; }
}
