/* ==========================================================================
   WOW INTERIOR AI · Full Landing Page + Pro Live Studio Design System
   ========================================================================== */

:root {
  --bg-base: #07080d;
  --bg-sec-alt: #0b0e17;
  --bg-card: rgba(17, 21, 32, 0.85);
  --bg-elevated: #161b29;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --primary: #3b82f6;
  --violet: #8b5cf6;
  --cyan: #06b6d4;
  --green: #10b981;
  --gold: #f59e0b;
  --red: #ef4444;
  --grad-main: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 55%, #ec4899 100%);

  --text-1: #f8fafc;
  --text-2: #94a3b8;
  --text-3: #64748b;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --font: 'Pretendard Variable', 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  --toss-blue: #0064ff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
.hidden { display: none !important; }
.honeypot { position: absolute; left: -9999px; opacity: 0; }

body {
  font-family: var(--font);
  background: var(--bg-base);
  color: var(--text-1);
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.grad-text {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 배경 오로라 */
.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.16;
}
.blob-1 { width: 650px; height: 650px; background: var(--primary); top: -180px; left: -120px; }
.blob-2 { width: 600px; height: 600px; background: var(--violet); top: 35%; right: -150px; }
.blob-3 { width: 550px; height: 550px; background: var(--cyan); bottom: -180px; left: 25%; }

/* ==========================================================================
   STICKY HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 8, 13, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-1);
}
.brand-badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.45);
}
.brand-title { font-size: 1.12rem; letter-spacing: -0.02em; }
.brand-version {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 99px;
  background: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.4);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.main-nav a:hover { color: #fff; }
.nav-pill {
  background: rgba(59, 130, 246, 0.25);
  color: #93c5fd;
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: 99px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ws-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 5px 11px;
  border-radius: 99px;
  font-size: 0.76rem;
  color: var(--text-2);
}
.ws-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.auth-box { display: flex; align-items: center; gap: 8px; }
.credit-pill {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--gold);
  padding: 5px 11px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.user-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600; }
.user-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--grad-main);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.74rem; font-weight: 800;
}

/* 공통 버튼 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--grad-main);
  color: #fff;
  box-shadow: 0 6px 22px rgba(59, 130, 246, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(59, 130, 246, 0.5); }
.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  color: #fff;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-1);
  padding: 7px 13px;
  font-size: 0.82rem;
}
.btn-sm { padding: 8px 15px; font-size: 0.84rem; border-radius: 10px; }
.btn-xs { padding: 5px 10px; font-size: 0.75rem; border-radius: 8px; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; border-radius: 14px; }
.btn-full { width: 100%; }

/* ==========================================================================
   SECTION 1: HERO
   ========================================================================== */
.hero-section {
  padding: 72px 0 84px;
  border-bottom: 1px solid var(--border-subtle);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 52px;
  align-items: center;
}
.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.hero-h1 {
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 1.26;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
  word-break: keep-all;
}
.hero-lead {
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--text-2);
  margin-bottom: 26px;
  word-break: keep-all;
}

/* 한국형 빠른 시작 박스 (.lp-signup) */
.lp-signup-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.quick-start-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.28);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  color: #bfdbfe;
  margin-bottom: 14px;
}
.qs-badge {
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
  flex-shrink: 0;
}
.hero-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn-lp-sub {
  width: 100%;
  padding: 12px;
  font-size: 0.92rem;
}
.lp-form-inline {
  display: flex;
  gap: 8px;
}
.btn-magic {
  white-space: nowrap;
  padding: 0 18px;
  font-size: 0.86rem;
  border-color: var(--border-strong);
}
.lp-input {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 0.95rem;
  outline: none;
}
.lp-input:focus { border-color: var(--primary); }
.btn-lp { width: 100%; padding: 13px; font-size: 0.98rem; }
.lp-divider {
  display: flex; align-items: center; text-align: center;
  margin: 12px 0; color: var(--text-3); font-size: 0.8rem;
}
.lp-divider::before, .lp-divider::after {
  content: ""; flex: 1; border-bottom: 1px solid var(--border-subtle);
}
.lp-divider span { padding: 0 10px; }
.btn-google-oauth {
  width: 100%;
  background: #fff;
  color: #111827;
  border: none;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.15s;
}
.btn-google-oauth:hover { transform: translateY(-1px); background: #f3f4f6; }
.lp-status { font-size: 0.84rem; color: var(--green); margin-top: 8px; }
.lp-footnote { font-size: 0.75rem; color: var(--text-3); margin-top: 8px; text-align: center; }

/* 5대 모드 칩 */
.hero-mode-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mode-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
}
.mode-chip:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.mode-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

/* Before / After 슬라이더 공통 */
.ba-slider-box {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  background: #000;
  user-select: none;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-after { z-index: 1; }
.ba-before { z-index: 2; clip-path: inset(0 50% 0 0); }

.ba-tag {
  position: absolute;
  bottom: 14px;
  padding: 4px 11px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  z-index: 5;
  pointer-events: none;
}
.tag-before { left: 14px; }
.tag-after { right: 14px; color: #93c5fd; }

.ba-bar {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 3px;
  background: #fff;
  box-shadow: 0 0 12px rgba(0,0,0,0.8);
  z-index: 4;
  pointer-events: none;
  transform: translateX(-50%);
}
.ba-knob {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 900;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 6;
}

.hero-style-picks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.style-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-2);
  padding: 7px 14px;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.style-pill.active, .style-pill:hover {
  background: rgba(59, 130, 246, 0.22);
  border-color: var(--primary);
  color: #fff;
}
.ba-caption {
  text-align: center;
  font-size: 0.86rem;
  color: var(--text-3);
  margin-top: 12px;
}

/* ==========================================================================
   공통 섹션 레이아웃
   ========================================================================== */
.section-block {
  padding: 96px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.studio-highlight-sec {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.45) 0%, rgba(7, 8, 13, 0.9) 100%);
}
.sec-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.sec-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: rgba(59, 130, 246, 0.12);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 12px;
}
.sec-title {
  font-size: 2.7rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.sec-desc {
  color: var(--text-2);
  font-size: 1.04rem;
}
.sec-cta-center { text-align: center; margin-top: 40px; }

/* ==========================================================================
   SECTION 2: HOW IT WORKS (3 STEPS)
   ========================================================================== */
.steps-3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: transform 0.2s, border-color 0.2s;
}
.step-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.step-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 18px;
  background: #000;
}
.step-thumb > img { width: 100%; height: 100%; object-fit: cover; }
.step-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  width: 100%; height: 100%; gap: 3px;
}
.step-mini-grid img { width: 100%; height: 100%; object-fit: cover; }
.step-num {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--grad-main);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 99px;
}
.step-card h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 10px; }
.step-card p { font-size: 0.9rem; color: var(--text-2); }

/* ==========================================================================
   SECTION 3: LIVE STUDIO WORKSPACE
   ========================================================================== */
.live-studio-shell {
  display: grid;
  grid-template-columns: 380px 1fr;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}
.studio-sidebar {
  background: rgba(13, 16, 24, 0.95);
  border-right: 1px solid var(--border-subtle);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sb-group { display: flex; flex-direction: column; gap: 8px; }
.sb-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sb-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-1);
  display: flex;
  align-items: center;
  gap: 6px;
}
.sb-num {
  background: rgba(59, 130, 246, 0.18);
  color: #93c5fd;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 5px;
}
.upload-box {
  position: relative;
  height: 125px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px dashed var(--border-strong);
  cursor: pointer;
}
.upload-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.upload-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.52);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
  transition: background 0.2s;
}
.upload-box:hover .upload-overlay { background: rgba(59, 130, 246, 0.38); }

.sample-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sample-thumb-btn {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 4px;
  cursor: pointer;
  color: var(--text-2);
  font-size: 0.68rem;
  font-weight: 700;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.sample-thumb-btn img { width: 100%; height: 36px; object-fit: cover; border-radius: 5px; }
.sample-thumb-btn.active { border-color: var(--primary); color: #fff; background: rgba(59, 130, 246, 0.15); }

.mode-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.mode-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-2);
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}
.mode-card.active {
  background: rgba(59, 130, 246, 0.2);
  border-color: var(--primary);
  color: #fff;
}

.sb-select, .sb-input {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 9px 11px;
  border-radius: 8px;
  font-size: 0.82rem;
  outline: none;
}

.engine-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.engine-pill {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  display: flex; flex-direction: column; gap: 3px;
}
.engine-pill input { display: none; }
.engine-pill.active { border-color: var(--primary); background: rgba(59, 130, 246, 0.16); }
.ep-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.72rem; font-weight: 800; }
.ep-sub { font-size: 0.64rem; color: var(--text-3); }
.ep-tag { font-size: 0.58rem; padding: 1px 5px; border-radius: 4px; font-weight: 800; }
.ep-tag.free, .ep-tag.online { background: rgba(16, 185, 129, 0.2); color: var(--green); }
.ep-tag.offline { background: rgba(148, 163, 184, 0.15); color: var(--text-3); }
.ep-tag.cloud { background: rgba(139, 92, 246, 0.2); color: #c4b5fd; }

.btn-generate-full { width: 100%; padding: 14px; font-size: 0.96rem; margin-top: 4px; }
.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff;
  border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* 우측 스튜디오 스테이지 */
.studio-stage {
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at center, #131929 0%, #07080d 100%);
}
.stage-toolbar {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.toolbar-left, .toolbar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.view-switch-group {
  display: flex;
  background: rgba(255,255,255,0.04);
  padding: 3px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}
.vs-btn {
  background: transparent; border: none; color: var(--text-2);
  padding: 6px 12px; border-radius: 6px; font-size: 0.78rem; font-weight: 700; cursor: pointer;
}
.vs-btn.active { background: var(--primary); color: #fff; }

.mask-toolbar-inline { display: flex; align-items: center; gap: 6px; }
.mt-btn {
  background: rgba(255,255,255,0.06); border: 1px solid var(--border-subtle);
  color: var(--text-2); padding: 5px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; cursor: pointer;
}
.mt-btn.active { background: rgba(239, 68, 68, 0.25); border-color: var(--red); color: #fff; }
.brush-slider-mini { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; color: var(--text-2); }
.brush-slider-mini input { width: 75px; accent-color: var(--red); }

.stage-badge {
  font-size: 0.74rem; font-weight: 800;
  padding: 4px 10px; border-radius: 99px;
  background: rgba(6, 182, 212, 0.15); color: var(--cyan);
}

.stage-viewport {
  flex: 1;
  position: relative;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
}
.stage-ba-box, .pro-mask-frame {
  max-width: 820px;
  width: 100%;
  aspect-ratio: 3 / 2;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pro-mask-frame { border: 2px solid rgba(239, 68, 68, 0.65); background: #000; touch-action: none; }
.mask-bg-img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.mask-canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; z-index: 5; }
.mask-floating-tip {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,0.8); border: 1px solid rgba(239,68,68,0.5);
  padding: 5px 14px; border-radius: 99px; font-size: 0.76rem; color: #fca5a5; z-index: 7; pointer-events: none;
}

.ws-overlay {
  position: absolute; inset: 0;
  background: rgba(7, 8, 13, 0.72);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  z-index: 20;
}
.ws-card {
  width: 350px;
  background: var(--bg-elevated);
  border: 1px solid rgba(59, 130, 246, 0.5);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.7);
}
.ws-ring-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ws-pulse-badge { font-size: 0.68rem; font-weight: 800; color: var(--cyan); background: rgba(6,182,212,0.15); padding: 3px 8px; border-radius: 6px; }
.ws-big-pct { font-size: 1.45rem; font-weight: 900; }
.ws-bar-track { width: 100%; height: 8px; background: rgba(255,255,255,0.1); border-radius: 99px; overflow: hidden; margin-bottom: 10px; }
.ws-bar-fill { height: 100%; background: var(--grad-main); transition: width 0.2s ease; }
.ws-meta { display: flex; flex-direction: column; gap: 3px; font-size: 0.8rem; }
.ws-meta span { color: var(--text-2); font-size: 0.74rem; }

.stage-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(11, 14, 23, 0.9);
  display: flex; flex-direction: column; gap: 8px;
}
.prompt-bar { display: flex; align-items: center; gap: 8px; font-size: 0.76rem; }
.pr-tag { background: rgba(59,130,246,0.2); color: #93c5fd; font-weight: 800; padding: 2px 7px; border-radius: 5px; }
.pr-val { color: var(--text-2); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr-time { color: var(--green); font-weight: 800; }

.filmstrip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.filmstrip-item {
  width: 68px; height: 44px; border-radius: 6px; overflow: hidden;
  border: 1px solid var(--border-subtle); cursor: pointer; flex-shrink: 0; opacity: 0.75; transition: all 0.15s;
}
.filmstrip-item:hover { opacity: 1; border-color: var(--primary); transform: scale(1.04); }
.filmstrip-item img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   SECTION 4: 12 STYLES SHOWCASE GRID (56 STYLES. SAME ROOM.)
   ========================================================================== */
.styles-12-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.style-showcase-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  group: card;
}
.style-showcase-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.35s ease;
}
.style-showcase-card:hover img { transform: scale(1.07); }
.ssc-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(0,0,0,0.88) 0%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ssc-overlay span { font-size: 0.95rem; font-weight: 800; }
.ssc-overlay em { font-style: normal; font-size: 0.75rem; color: #93c5fd; font-weight: 700; }

/* ==========================================================================
   SECTION 5: MORE THAN A REDESIGN (DEEP FEATURES)
   ========================================================================== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 52px;
  align-items: center;
  margin-bottom: 80px;
}
.feature-row.reverse { grid-template-columns: 1.15fr 1fr; }
.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-media { order: 1; }

.f-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.14);
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 12px;
}
.feature-text h3 {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}
.feature-text p {
  color: var(--text-2);
  font-size: 1.02rem;
  margin-bottom: 24px;
}
.feature-media > img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  box-shadow: 0 20px 50px rgba(0,0,0,0.55);
}
.stat-pills { display: flex; gap: 16px; }
.stat-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  display: flex; flex-direction: column;
}
.stat-pill strong { font-size: 1.7rem; font-weight: 900; color: var(--green); }
.stat-pill span { font-size: 0.82rem; color: var(--text-2); }

.feature-3-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.f-subcard {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.f-subcard img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}
.f-subcard h4 { font-size: 1.12rem; font-weight: 800; margin: 6px 0 10px; }
.f-subcard p { font-size: 0.88rem; color: var(--text-2); }

/* ==========================================================================
   SECTION 6: SAVED RENDERS GALLERY
   ========================================================================== */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.gallery-empty {
  grid-column: 1 / -1; text-align: center; color: var(--text-3);
  padding: 56px; border: 1px dashed var(--border-strong); border-radius: var(--radius-lg);
}
.gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}
.gallery-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.gallery-thumb { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.gallery-meta { padding: 14px; }
.gallery-meta-top { display: flex; justify-content: space-between; font-size: 0.84rem; font-weight: 800; margin-bottom: 6px; }
.gallery-meta-sub { display: flex; justify-content: space-between; font-size: 0.76rem; color: var(--text-3); }
.btn-delete-render { background: transparent; border: none; color: var(--red); cursor: pointer; font-weight: 700; }

/* ==========================================================================
   SECTION 7: REVIEWS / TESTIMONIALS
   ========================================================================== */
.reviews-3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; }
.review-body { font-size: 0.95rem; color: var(--text-1); line-height: 1.65; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.rev-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad-main);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
}
.reviewer strong { display: block; font-size: 0.92rem; }
.reviewer span { font-size: 0.78rem; color: var(--text-3); }

/* ==========================================================================
   SECTION 8: PLANS & PRICING (Pro / Premium / Ultra)
   ========================================================================== */
.pricing-toggle-box {
  display: inline-flex;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  padding: 5px;
  border-radius: 99px;
  margin-top: 24px;
  gap: 6px;
}
.pt-btn {
  background: transparent;
  border: none;
  color: var(--text-2);
  padding: 9px 20px;
  border-radius: 99px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}
.pt-btn.active {
  background: var(--grad-main);
  color: #fff;
}

.pricing-3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 34px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan-card.popular {
  border: 2px solid var(--primary);
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.2);
  transform: translateY(-8px);
}
.popular-badge {
  position: absolute;
  top: -13px; right: 24px;
  background: var(--grad-main);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 99px;
}
.plan-name { font-size: 1.4rem; font-weight: 900; margin-bottom: 10px; }
.plan-price-row { display: flex; align-items: baseline; gap: 6px; }
.plan-price { font-size: 3rem; font-weight: 900; letter-spacing: -0.03em; }
.plan-per { color: var(--text-3); font-size: 0.9rem; }
.plan-subnote { font-size: 0.8rem; color: var(--green); font-weight: 700; margin: 6px 0 16px; }
.plan-stat-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.84rem;
  margin-bottom: 18px;
}
.plan-features-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-2);
  margin: 22px 0 12px;
}
.plan-ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-2);
}

/* ==========================================================================
   SECTION 9: FAQ ACCORDION
   ========================================================================== */
.faq-container { max-width: 860px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-1);
  padding: 20px 24px;
  font-size: 1.02rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-icon { font-size: 1.3rem; color: var(--primary); font-weight: 800; }
.faq-a {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-2);
  font-size: 0.94rem;
  line-height: 1.65;
}
.faq-item.open .faq-a { display: block; }

/* ==========================================================================
   SECTION 10: BOTTOM CTA & FOOTER
   ========================================================================== */
.bottom-cta-section { padding: 88px 0; }
.bottom-cta-card {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.22) 0%, rgba(139, 92, 246, 0.22) 100%);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: var(--radius-xl);
  padding: 64px 32px;
  text-align: center;
}
.bottom-cta-card h2 { font-size: 2.5rem; font-weight: 900; margin-bottom: 10px; }
.bottom-cta-card p { font-size: 1.1rem; color: var(--text-2); margin-bottom: 28px; }
.bottom-cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 44px 0;
  background: #05060a;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand p { font-size: 0.82rem; color: var(--text-3); margin-top: 8px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--text-2); text-decoration: none; font-size: 0.86rem; }
.footer-links a:hover { color: #fff; }

/* 모달 */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.78); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  z-index: 999; padding: 20px;
}
.modal-card {
  width: 100%; max-width: 420px;
  background: #10141f; border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); padding: 28px; position: relative;
}
.modal-close { position: absolute; top: 16px; right: 16px; background: transparent; border: none; color: var(--text-2); font-size: 1.15rem; cursor: pointer; }
.modal-brand { font-size: 0.72rem; font-weight: 800; color: var(--primary); letter-spacing: 0.08em; margin-bottom: 4px; }
.modal-title { font-size: 1.35rem; font-weight: 800; margin-bottom: 6px; }
.modal-subtitle { font-size: 0.82rem; color: var(--text-2); margin-bottom: 18px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 16px; }
.auth-tab { background: var(--bg-elevated); border: 1px solid var(--border-subtle); color: var(--text-2); padding: 8px; border-radius: 8px; font-size: 0.82rem; font-weight: 700; cursor: pointer; }
.auth-tab.active { background: rgba(59, 130, 246, 0.22); border-color: var(--primary); color: #fff; }
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 0.78rem; color: var(--text-2); margin-bottom: 5px; }
.auth-error { color: var(--red); font-size: 0.8rem; margin-bottom: 10px; }
.demo-login-box { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border-subtle); }

/* 반응형 */
@media (max-width: 1040px) {
  .hero-grid, .live-studio-shell, .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .steps-3-grid, .feature-3-cards, .reviews-3-grid, .pricing-3-grid { grid-template-columns: 1fr; }
  .styles-12-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav { display: none; }
  .hero-h1 { font-size: 2.3rem; }
  .studio-guide-strip { flex-direction: column; align-items: stretch; }
  .sgs-arrow { display: none; }
  .toss-trust-strip { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   한국 사용자 맞춤형 추가 UI (3단계 가이드 바 + 추천 프롬프트 태그 + 토스페이먼츠)
   ========================================================================== */
.studio-guide-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(22, 27, 41, 0.9);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-lg);
  padding: 14px 22px;
  margin-bottom: 22px;
}
.sgs-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}
.sgs-step {
  background: var(--grad-main);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 99px;
}
.sgs-arrow {
  color: var(--text-3);
  font-weight: 800;
}

.prompt-quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.pq-tag {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
  padding: 4px 9px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.pq-tag:hover {
  background: var(--primary);
  color: #fff;
}

/* 토스페이먼츠 신뢰 배너 및 버튼 */
.toss-trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(90deg, rgba(0, 100, 255, 0.16) 0%, rgba(17, 21, 32, 0.92) 100%);
  border: 1px solid rgba(0, 100, 255, 0.45);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  margin-bottom: 28px;
}
.tts-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.9rem;
}
.toss-logo-pill {
  background: var(--toss-blue);
  color: #fff;
  font-weight: 900;
  font-size: 0.78rem;
  padding: 4px 11px;
  border-radius: 99px;
  letter-spacing: -0.01em;
}
.toss-test-badge {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
}
.tts-methods {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.tts-methods span {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  padding: 5px 11px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 700;
}

.plan-sub-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 700;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.14);
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 8px;
}
.btn-toss {
  background: var(--toss-blue);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 100, 255, 0.35);
}
.btn-toss:hover {
  background: #0052d6;
  transform: translateY(-2px);
}

/* 최근 토스페이먼츠 결제 내역 */
.user-orders-box {
  margin-top: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}
.uob-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.uob-head span {
  font-size: 0.8rem;
  color: var(--text-3);
}
.uob-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.uob-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.84rem;
}
.uob-badge-paid {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
}

/* 토스페이먼츠 결제 전용 모달 */
.toss-modal-card {
  max-width: 520px;
  border: 1px solid rgba(0, 100, 255, 0.55);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85);
}
.toss-brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.toss-badge-blue {
  background: var(--toss-blue);
  color: #fff;
  font-weight: 900;
  font-size: 0.76rem;
  padding: 3px 10px;
  border-radius: 99px;
}
.toss-safe-tag {
  font-size: 0.76rem;
  font-weight: 700;
  color: #6ee7b7;
}
.toss-order-summary {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.tos-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  color: var(--text-2);
}
.tos-row strong {
  color: var(--text-1);
}
.tos-row code {
  font-size: 0.76rem;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.12);
  padding: 2px 7px;
  border-radius: 6px;
}
.tos-credits {
  color: var(--gold) !important;
}
.tos-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 4px 0;
}
.tos-total {
  font-size: 0.96rem;
  font-weight: 700;
}
.tos-total strong {
  font-size: 1.25rem;
  color: #60a5fa;
}
.toss-method-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.toss-methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.toss-method-btn {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px;
  color: var(--text-1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  transition: all 0.15s;
}
.toss-method-btn small {
  font-size: 0.72rem;
  color: var(--text-3);
}
.toss-method-btn.active {
  border-color: var(--toss-blue);
  background: rgba(0, 100, 255, 0.18);
  box-shadow: 0 0 0 1px var(--toss-blue);
}
.tm-icon {
  font-size: 1.1rem;
}
.toss-agree-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-2);
  cursor: pointer;
  margin-top: 4px;
}
.toss-agree-check input {
  accent-color: var(--toss-blue);
}
.btn-toss-pay {
  background: var(--toss-blue);
  color: #fff;
  padding: 14px;
  font-size: 0.98rem;
  font-weight: 800;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 100, 255, 0.4);
}
.btn-toss-pay:hover {
  background: #0051d5;
}
.toss-key-hint {
  margin-top: 12px;
  font-size: 0.74rem;
  color: var(--text-3);
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 12px;
  border-radius: 8px;
}
