@font-face {
  font-family: "Escoredream";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-3Light.woff")
    format("woff");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Escoredream";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-4Regular.woff")
    format("woff");
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: "Escoredream";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-7ExtraBold.woff")
    format("woff");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-hover: #e2e8f0;

  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-focus: #94a3b8;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --accent-blue: #2563eb;
  --accent-blue-hover: #1d4ed8;
  --accent-blue-light: #eff6ff;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl:
    0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.03);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  font-family:
    "Escoredream",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.7;
  letter-spacing: -0.015em;
  -webkit-font-smoothing: antialiased;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Typography & Gradient Effects */
h1,
h2,
h3,
h4 {
  font-family: "Escoredream", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.3;
}

.brand-gradient,
.hero-brand-gradient {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 40%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.hero-brand-gradient {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #db2777 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Header Navbar */
.app-header {
  height: 64px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--text-primary);
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.author-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
  background-color: var(--bg-subtle);
  padding: 3px 10px;
  border-radius: 14px;
  border: 1px solid var(--border-light);
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  background: none;
  border: none;
  text-decoration: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-weight: 400;
  font-size: 0.92rem;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.02em;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background-color: var(--bg-subtle);
  font-weight: 700;
}

.github-link {
  color: var(--text-primary);
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Escoredream", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  user-select: none;
  letter-spacing: -0.01em;
}

.btn-primary {
  background-color: var(--text-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #1e293b;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  border-color: var(--border-focus);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.82rem;
}

.btn-xl {
  padding: 18px 42px;
  font-size: 1.15rem;
  border-radius: 30px;
  letter-spacing: 0.02em;
}

.main-get-started-btn {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.25);
  transition: all 0.25s ease;
}

.main-get-started-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 30px -5px rgba(15, 23, 42, 0.35);
}

.btn-block {
  width: 100%;
}

.text-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 4px 8px;
}

.text-btn:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

/* LANDING PAGE STYLES */
.hero-section {
  padding: 130px 0 90px 0;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background-color: var(--bg-subtle);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 400;
  padding: 8px 22px;
  border-radius: 30px;
  margin-bottom: 28px;
  border: 1px solid var(--border-light);
  letter-spacing: -0.01em;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 44px auto;
  line-height: 1.8;
  font-weight: 300;
  letter-spacing: -0.015em;
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(45px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Showcase Card Demo */
.showcase-section {
  padding-bottom: 120px;
}

.showcase-card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  max-width: 940px;
  margin: 0 auto;
}

.showcase-toolbar {
  background-color: var(--bg-subtle);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-light);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.dot.red {
  background: #ff5f56;
}
.dot.yellow {
  background: #ffbd2e;
}
.dot.green {
  background: #27c93f;
}

.showcase-title {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-left: auto;
  font-weight: 400;
}

.showcase-body {
  padding: 70px 50px;
  background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
  display: flex;
  justify-content: center;
}

.mockup-frame {
  background: #ffffff;
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.18);
  max-width: 540px;
  width: 100%;
  text-align: center;
}

.mockup-inner-img h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}
.mockup-inner-img p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
}

/* Features & Guides Section Spacing */
.content-section {
  padding: 120px 0;
}

.grey-bg {
  background-color: var(--bg-subtle);
}

.text-center {
  text-align: center;
}

.section-header {
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 14px;
  letter-spacing: -0.04em;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 300;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--bg-surface);
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background-color: var(--bg-subtle);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  font-weight: 300;
}

.steps-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 36px 30px;
  border-radius: var(--radius-lg);
}

.step-number {
  width: 36px;
  height: 36px;
  background-color: var(--accent-blue);
  color: #ffffff;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step-content h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.step-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.6;
}

/* Minimal Developer Credit Bar */
.dev-credit-bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--bg-surface);
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid var(--border-light);
  font-size: 0.88rem;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}

.dev-credit-bar strong {
  color: var(--text-primary);
  font-weight: 700;
}

.dev-github-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-blue);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  background-color: var(--accent-blue-light);
  padding: 4px 10px;
  border-radius: 12px;
  transition: background-color var(--transition-fast);
}

.dev-github-tag:hover {
  background-color: #dbeafe;
}

/* AdSense Slot */
.adsense-container {
  margin: 40px auto;
}
.adsense-placeholder {
  background-color: var(--bg-surface);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  position: relative;
}
.ad-label {
  position: absolute;
  top: 6px;
  right: 12px;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

/* Footer */
.app-footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  padding: 40px 0 20px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 300;
}
.author-link {
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 700;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  color: var(--text-light);
  font-size: 0.8rem;
  font-weight: 300;
}

/* COMPACT EDITOR APP */
.compact-workspace {
  display: flex;
  height: calc(100vh - 64px);
  overflow: hidden;
}

.stage-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: #f1f5f9;
  background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
  background-size: 20px 20px;
  position: relative;
  overflow: hidden;
}

.stage-toolbar {
  height: 50px;
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  z-index: 10;
}

.tool-group {
  display: flex;
  gap: 8px;
}
.canvas-info {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 400;
}

.drag-export-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  background-color: var(--accent-blue-light);
  color: var(--accent-blue);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.canvas-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  position: relative;
}

.canvas-stage.drag-over {
  background-color: rgba(59, 130, 246, 0.08);
  outline: 3px dashed var(--accent-blue);
  outline-offset: -12px;
}

.upload-placeholder {
  background-color: rgba(255, 255, 255, 0.92);
  border: 2px dashed var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  text-align: center;
  max-width: 460px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.upload-icon-wrapper {
  width: 64px;
  height: 64px;
  background-color: var(--bg-subtle);
  color: var(--accent-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

.upload-placeholder h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}
.upload-placeholder .subtitle {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 22px;
  font-weight: 300;
}
.upload-btn {
  margin-bottom: 12px;
}

.canvas-wrapper {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Canvas Floating Quick Action Bar (클립보드 복사 & 드래그 저장) */
.canvas-action-bar {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 8px;
}

.action-badge {
  user-select: none;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  box-shadow: var(--shadow-md);
  transition:
    transform var(--transition-fast),
    background-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

/* 1. Quick Copy Badge Button */
.copy-badge {
  background-color: var(--accent-blue);
  color: #ffffff;
  cursor: pointer;
}

.copy-badge:hover {
  background-color: var(--accent-blue-hover);
  transform: translateY(-1px) scale(1.03);
  box-shadow: var(--shadow-lg);
}

.copy-badge:active {
  transform: scale(0.97);
}

/* 2. Drag Save Badge Handle */
.drag-badge {
  background-color: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(6px);
  color: #ffffff;
  cursor: grab;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.drag-badge:hover {
  transform: scale(1.03);
  background-color: #0f172a;
}

.drag-badge:active {
  cursor: grabbing;
}

canvas#main-canvas {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 145px);
  height: auto;
  object-fit: contain;
}

/* Accordion Sidebar (Right) */
.sidebar-accordion {
  width: 350px;
  background-color: var(--bg-surface);
  border-left: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
}

.panel-header-compact {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-light);
}

.panel-header-compact h3 {
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}
.panel-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
}

.accordion-container {
  display: flex;
  flex-direction: column;
}

.accordion-item {
  border-bottom: 1px solid var(--border-light);
}

.accordion-header {
  width: 100%;
  padding: 14px 18px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: background-color var(--transition-fast);
  letter-spacing: -0.02em;
}

.accordion-header:hover {
  background-color: var(--bg-subtle);
}

.acc-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.acc-arrow {
  transition: transform var(--transition-normal);
}

.accordion-item.open .acc-arrow {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  padding: 16px 18px 20px 18px;
  flex-direction: column;
  gap: 16px;
  background-color: #fafafa;
}

.accordion-item.open .accordion-content {
  display: flex;
}

/* Controls Inside Accordion */
.control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.control-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.control-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.value-badge {
  background-color: var(--bg-subtle);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}
.current-color-val {
  font-size: 0.78rem;
  font-family: monospace;
  color: var(--text-muted);
}

.color-section-subtitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 4px;
  letter-spacing: -0.01em;
}

.palette-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
.palette-empty {
  grid-column: span 6;
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  padding: 6px 0;
  font-weight: 300;
}

.preset-color-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.color-swatch,
.gradient-swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-fast);
}
.gradient-swatch {
  border-radius: var(--radius-sm);
  width: 100%;
  height: 28px;
}
.gradient-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
.color-swatch.active,
.gradient-swatch.active {
  border-color: var(--text-primary);
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.2);
}

.custom-color-wrapper {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--bg-subtle);
  border: 1px dashed var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}

.custom-color-wrapper input[type="color"] {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 40px;
  height: 40px;
  opacity: 0;
  cursor: pointer;
}

.range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 3px;
  background: var(--bg-hover);
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--text-primary);
  cursor: pointer;
}

.quick-preset-btns {
  display: flex;
  gap: 6px;
}
.preset-btn {
  flex: 1;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 4px 0;
  font-size: 0.75rem;
  font-family: inherit;
  font-weight: 400;
  cursor: pointer;
}
.preset-btn:hover {
  background-color: var(--bg-subtle);
}

.ratio-btn-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.ratio-btn {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
}
.ratio-btn.active,
.ratio-btn:hover {
  background-color: var(--text-primary);
  color: #ffffff;
}

.export-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.select-input {
  width: 100%;
  padding: 7px 10px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  background-color: var(--bg-surface);
}
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal-box {
  background-color: var(--bg-surface);
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 580px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
}
.modal-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.modal-body {
  padding: 22px;
  overflow-y: auto;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 300;
}
.modal-body h4 {
  margin: 14px 0 4px 0;
  color: var(--text-primary);
  font-weight: 700;
}
.modal-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: flex-end;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .compact-workspace {
    flex-direction: column;
    height: auto;
    overflow: visible;
  }
  .sidebar-accordion {
    width: 100%;
    height: auto;
    border-left: none;
    border-top: 1px solid var(--border-light);
  }
  .canvas-stage {
    min-height: 380px;
  }
  .steps-wrapper {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.3rem;
  }
}
