/* ===================================================
   OFFCUT STUDIO landing (studio.html) 전용 스타일
   - Claude Design "STUDIO Landing" 이식 (2026-07)
   - 토큰/버튼/nav/footer 는 main.css 공유, 여기는 st-* 섹션만
   =================================================== */

/* ---------- HERO ---------- */
.st-hero {
  position: relative;
  padding: 172px var(--pad-x) 0;
  text-align: center;
  overflow-x: clip;
}
.st-hero__glow {
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 620px;
  background: radial-gradient(ellipse at center, rgba(197,245,66,0.07) 0%, rgba(197,245,66,0.02) 45%, transparent 70%);
  pointer-events: none;
}
.st-hero__inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  animation: stFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes stFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.st-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(197,245,66,0.25);
  background: rgba(197,245,66,0.05);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--acc);
}
.st-hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 8px rgba(197,245,66,0.6);
}
.st-hero__title {
  margin: 0;
  font-family: var(--ff-en), var(--ff-kr);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}
.st-hero__title em {
  font-style: normal;
  color: var(--acc);
}
.st-hero__sub {
  margin: 0;
  max-width: 540px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--tx-2);
  text-wrap: pretty;
}
.st-hero__ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.st-hero__meta {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--tx-3);
}

/* ---------- Before/After timeline visual ---------- */
.st-tl {
  position: relative;
  max-width: 1000px;
  margin: 80px auto 0;
}
.st-tl__window {
  background: #101010;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6);
}
.st-tl__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.st-tl__file {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--tx-3);
}
.st-tl__status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--acc);
}
.st-tl__status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acc);
}
.st-tl__body {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: left;
}
.st-tl__row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.st-tl__label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--tx-3);
}
.st-tl__label--acc { color: var(--acc); }
.st-tl__bars {
  display: flex;
  gap: 3px;
  height: 34px;
}
.st-tl__bars--after { max-width: 62%; }
.st-tl__bar { border-radius: 5px; }
.st-tl__bar--keep { background: rgba(255,255,255,0.1); }
.st-tl__bar--cut {
  background: rgba(255,80,80,0.14);
  border: 1px dashed rgba(255,80,80,0.35);
}
.st-tl__bar--done {
  background: rgba(197,245,66,0.24);
  border: 1px solid rgba(197,245,66,0.4);
}
.st-tl__arrow {
  display: flex;
  align-items: center;
  gap: 14px;
}
.st-tl__arrow-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
}
.st-tl__arrow-text {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--acc);
}

/* ---------- 공통 섹션 골격 ---------- */
.st-section {
  padding: 160px 0 0;
}
.st-section--last { padding-bottom: 140px; }
.st-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.st-section__title {
  margin: 0;
  font-family: var(--ff-en), var(--ff-kr);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.st-section__title .accent { color: var(--acc); }
.st-section__lead {
  margin: 0 0 6px;
  max-width: 380px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--tx-2);
  text-wrap: pretty;
}
.st-section__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--tx-0);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  transition: color 0.15s ease;
}
.st-section__link:hover { color: var(--acc); }

/* ---------- FEATURES 3카드 ---------- */
.st-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
  margin-top: 56px;
}
.st-card {
  background: #0f0f0f;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.st-card:hover {
  border-color: rgba(197,245,66,0.3);
  transform: translateY(-4px);
}
.st-card__num {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--tx-3);
}
.st-card__visual {
  background: var(--bg-0);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.st-card__title {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.st-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--tx-2);
}
.st-card__meta {
  margin-top: auto;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  color: var(--acc);
  opacity: 0.8;
}

/* 카드 1 — STT 파이프라인 비주얼 */
.st-pipe {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  color: var(--tx-2);
}
.st-pipe__step {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 4px 10px;
}
.st-pipe__step--acc {
  border-color: rgba(197,245,66,0.3);
  color: var(--acc);
}
.st-pipe__arrow { color: var(--acc); }
.st-pipe__caption {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(197,245,66,0.05);
  border: 1px solid rgba(197,245,66,0.18);
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 4px;
  font-size: 12.5px;
  color: rgba(245,245,245,0.85);
}
.st-pipe__tc {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--acc);
}

/* 카드 2 — 웨이브폼 비주얼 */
.st-wave {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 44px;
}
.st-wave span {
  flex: 1;
  background: rgba(245,245,245,0.25);
  border-radius: 2px;
}
.st-wave .st-wave__cut { background: rgba(255,80,80,0.5); }
.st-wave__meta {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  color: var(--tx-3);
}
.st-wave__meta .accent { color: var(--acc); }

/* 카드 3 — 중복 제거 비주얼 */
.st-dedupe {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.st-dedupe__row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.st-dedupe__row--merge { opacity: 0.5; }
.st-dedupe__file {
  flex: 1;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  color: rgba(245,245,245,0.6);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 6px 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.st-dedupe__row--merge .st-dedupe__file {
  background: rgba(255,255,255,0.02);
  border: 1px dashed rgba(255,80,80,0.3);
  text-decoration: line-through;
}
.st-dedupe__tag {
  font-family: var(--ff-mono);
  font-size: 10px;
}
.st-dedupe__tag--keep { color: var(--acc); }
.st-dedupe__tag--merge { color: rgba(255,120,120,0.8); }

/* ---------- WORKFLOW 비교 ---------- */
.st-wf {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 56px;
}
.st-wf__col {
  background: #0d0d0d;
  padding: 36px 32px;
}
.st-wf__tag {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--acc);
  margin-bottom: 18px;
}
.st-wf__tag--old { color: rgba(255,120,120,0.7); }
.st-wf__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.st-wf__item {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: rgba(245,245,245,0.8);
}
.st-wf__item > span:first-child {
  color: var(--acc);
  font-family: var(--ff-mono);
  font-size: 12px;
  padding-top: 2px;
}
.st-wf__item--old { color: rgba(245,245,245,0.5); }
.st-wf__item--old > span:first-child { color: rgba(255,120,120,0.6); }
.st-wf__item--old > span:last-child {
  text-decoration: line-through;
  text-decoration-color: rgba(255,120,120,0.4);
}

/* ---------- PRICING 미리보기 ---------- */
.st-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.st-tier {
  background: #0f0f0f;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.st-tier:hover { transform: translateY(-4px); }
.st-tier--best {
  background: rgba(197,245,66,0.04);
  border-color: rgba(197,245,66,0.35);
}
.st-tier__badge {
  position: absolute;
  top: -11px;
  left: 28px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  font-weight: 700;
  background: var(--acc);
  color: var(--bg-0);
  border-radius: 999px;
  padding: 4px 12px;
}
.st-tier__name {
  font-family: var(--ff-en);
  font-size: 16px;
  font-weight: 700;
}
.st-tier__for {
  font-size: 12.5px;
  color: var(--tx-3);
  margin-top: 4px;
}
.st-tier__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--ff-en);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.st-tier__price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--tx-3);
}
.st-tier__credits {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--acc);
}
.st-tier__feats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.st-tier__feats li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  color: rgba(245,245,245,0.64);
  line-height: 1.5;
}
.st-tier__feats li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--acc);
  font-weight: 800;
}
.st-tier__cta {
  display: block;
  text-align: center;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--tx-0);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 10px;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.st-tier__cta:hover {
  border-color: var(--acc);
  color: var(--acc);
  background: var(--acc-soft);
}
.st-tier--best .st-tier__cta {
  background: var(--acc);
  border-color: var(--acc);
  color: var(--bg-0);
}
.st-tier--best .st-tier__cta:hover { filter: brightness(1.07); }
.st-tier__cta.is-locked,
.st-tier--best .st-tier__cta.is-locked {
  pointer-events: none;
  cursor: not-allowed;
  color: var(--tx-3);
  background: transparent;
  border-color: var(--line-strong);
  opacity: 0.72;
}
.st-pricing__status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 0;
  font-family: var(--ff-mono);
  font-size: 10px;
  line-height: 1.6;
  color: var(--tx-3);
  text-align: center;
}
.st-pricing__status::before {
  content: "";
  width: 6px;
  height: 6px;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.st-pricing__status[data-state="ready"] { color: var(--acc); }
.st-pricing__status[data-state="ready"]::before { background: currentColor; }
.st-pricing__status[data-state="locked"] { color: #e8bd78; }
.st-pricing__foot {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--tx-3);
  text-align: center;
  line-height: 1.75;
}
.st-pricing__foot a {
  color: var(--acc);
  text-decoration: none;
}

/* ---------- CTA 배너 ---------- */
.st-cta {
  position: relative;
  background: #0e0e0e;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 80px 48px;
  text-align: center;
  overflow: hidden;
}
.st-cta__glow {
  position: absolute;
  bottom: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(197,245,66,0.08), transparent 70%);
  pointer-events: none;
}
.st-cta__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.st-cta__title {
  margin: 0;
  font-family: var(--ff-en), var(--ff-kr);
  font-size: clamp(30px, 4.5vw, 50px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-wrap: balance;
}
.st-cta__title .accent { color: var(--acc); }
.st-cta__sub {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--tx-2);
}

/* ---------- 반응형 (기존 브레이크포인트 기준) ---------- */
@media (max-width: 1024px) {
  .st-section { padding-top: 120px; }
  .st-hero { padding-top: 140px; }
}
@media (max-width: 768px) {
  .st-hero { padding-top: 120px; }
  .st-hero__sub br { display: none; }
  .st-tl { margin-top: 56px; }
  .st-tl__body { padding: 20px 16px 18px; }
  .st-tl__bars--after { max-width: 100%; }
  .st-tl__arrow-text { font-size: 10px; }
  .st-section { padding-top: 96px; }
  .st-section--last { padding-bottom: 96px; }
  .st-cards, .st-tiers, .st-wf { margin-top: 36px; }
  .st-cta { padding: 56px 24px; }
}
@media (max-width: 480px) {
  .st-hero__title { font-size: 36px; }
  .st-hero__ctas .btn { width: 100%; justify-content: center; }
  .st-tl__head { flex-wrap: wrap; }
  .st-tl__status { margin-left: 0; }
  .st-card { padding: 24px 20px; }
  .st-wf__col { padding: 28px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .st-hero__inner { animation: none; }
  .st-card, .st-tier { transition: none; }
}
