/* ==========================================================================
   Minecraft Pixel Art Generator - Ultra-Clean White Minimalist Design
   ========================================================================== */

:root {
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Pure White Minimalist Palette */
  --bg-body: #fbfbfb;
  --bg-surface: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-input: #ffffff;

  --text-main: #09090b;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-faint: #94a3b8;

  --border-light: #e2e8f0;
  --border-subtle: #f1f5f9;
  --border-active: #0284c7;

  --primary: #0f172a;
  --primary-hover: #1e293b;
  --accent-blue: #0284c7;
  --accent-blue-hover: #0369a1;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.09);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5 {
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  text-decoration: underline;
}

.hidden {
  display: none !important;
}

.img-pixelated {
  image-rendering: optimizeSpeed;
  image-rendering: -moz-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: pixelated;
  -ms-interpolation-mode: nearest-neighbor;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Container */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  transition: box-shadow 0.2s ease;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
  text-decoration: none;
}

.site-brand:hover {
  text-decoration: none;
}

.site-brand-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

.site-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.site-links a:hover {
  color: var(--text-main);
  text-decoration: none;
}

.site-links .btn-header-cta {
  padding: 8px 18px;
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 700;
}
.site-links .btn-header-cta:hover {
  background: var(--primary-hover);
  color: #ffffff;
}

/* ==========================================================================
   Buttons & Form Controls
   ========================================================================== */

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  box-shadow: 0 8px 20px -8px rgba(15, 23, 42, 0.5);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  user-select: none;
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(15, 23, 42, 0.6);
  text-decoration: none;
}

.button-primary.small {
  padding: 8px 18px;
  font-size: 0.84rem;
}

.button-primary.light {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.button-primary.light:hover {
  background: var(--bg-subtle);
  border-color: #cbd5e1;
}

.input, input, select, textarea {
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  outline: none;
  background: var(--bg-input);
  color: var(--text-main);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input:focus, input:focus, select:focus, textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.select {
  position: relative;
  display: inline-block;
}

.select select {
  appearance: none;
  padding-right: 36px;
  background: #ffffff;
  cursor: pointer;
}

.select::after {
  content: "▾";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-muted);
}

.select.is-small select {
  padding: 5px 28px 5px 12px;
  font-size: 0.82rem;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
  color: var(--text-main);
  cursor: pointer;
  user-select: none;
}

.checkbox input[type="checkbox"] {
  accent-color: var(--accent-blue);
  width: 17px;
  height: 17px;
  cursor: pointer;
}

/* ==========================================================================
   Screen 1: Start Screen (Minimalist Card)
   ========================================================================== */

.start-screen {
  padding-top: 48px;
  padding-bottom: 60px;
}

.start-simple.dropzone {
  border: 2px dashed #38bdf8;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-md);
  padding: 64px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: all 0.2s ease;
}

.start-simple.dropzone.is-dragover {
  border-color: var(--accent-blue);
  background: #f0f9ff;
  transform: scale(1.008);
}

.start-kicker {
  color: #0284c7;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.start-title {
  color: var(--text-main);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
}

.start-description {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 540px;
}

.start-simple .button-primary {
  position: relative;
  margin: 6px 0;
  padding: 15px 36px;
  background: #0284c7;
  font-size: 1rem;
  text-transform: none;
  box-shadow: 0 14px 28px -12px rgba(2, 132, 199, 0.7);
}

.start-simple .button-primary .file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.start-benefits {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding: 0;
  color: var(--text-body);
  font-size: 0.95rem;
  list-style: none;
  text-align: left;
}

.start-benefits li::before {
  content: "✓";
  margin-right: 10px;
  color: #10b981;
  font-weight: 800;
}

.start-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.start-feature-card {
  padding: 28px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.start-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.start-feature-card h3 {
  margin-bottom: 8px;
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 700;
}

.start-feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 0;
}

/* ==========================================================================
   Screen 2: Settings Screen (Minimalist Split Layout)
   ========================================================================== */

.settings-screen {
  padding: 40px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.settings-screen .columns {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.settings-screen .image-column {
  flex: 0 0 460px;
  max-width: 460px;
}

.settings-screen .blocks-column {
  flex: 1 1 auto;
}

.settings-screen .img-background {
  background-color: #c1c1c1;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAAAAACN7WTCAAAAuklEQVRIx53XSQLCMAxDUd3/hjkNlFJK0niQ5P1b6xujuFdxMN2A6QpYuxw2LoWdy2DrEti7GBIuhIyLIOUCyLkdkm6DrHtC2j0g71YouAUqboaSm6Dm/lB0N1TdD8rugrr7QsOd0HEfaLkDem7AdCUs9wimK2CzfzBdCtu9hekSSOw7TBdCqidgugCS/QLTbZDuJZjuAYU+g+kWKPUgTDdBsT9huhvKvQvTXdDoa5juhFbPw3QHNP+HN8C9S6bXGcQFAAAAAElFTkSuQmCC');
  background-blend-mode: soft-light;
}

.settings-screen .img-background .img-presentation {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  user-select: none;
}

.settings-screen .block-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.settings-screen .block-groups .box {
  padding: 14px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.settings-screen .block-groups .box:hover {
  border-color: #94a3b8;
}

.settings-screen .block-groups .box.box-selected,
.settings-screen .block-groups .box.is-selected {
  border: 2px solid var(--primary) !important;
  box-shadow: 0 8px 18px -8px rgba(15, 23, 42, 0.4) !important;
}

.settings-screen .block-groups .box .title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}

.settings-screen .block-groups .box .subtext {
  display: none;
}

.settings-screen .table-blocks-container {
  margin-bottom: 18px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.settings-screen #settings-input-filter {
  width: 100%;
  margin-bottom: 10px;
  font-size: 0.88rem;
}

.settings-screen .table-blocks-wrapper table {
  width: 100%;
  border-collapse: collapse;
}

.settings-screen .table-blocks-wrapper tbody {
  display: block;
  max-height: 220px;
  overflow-y: auto;
}

.settings-screen .table-blocks-wrapper thead,
.settings-screen .table-blocks-wrapper tbody tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}

.settings-screen .table-blocks-wrapper th,
.settings-screen .table-blocks-wrapper td {
  padding: 6px 10px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border-subtle);
}

.settings-screen .table-blocks-wrapper td img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.settings-screen .checkboxes-include label {
  display: flex;
  margin-bottom: 8px;
}

.settings-limit-note {
  margin-left: 26px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.settings-screen .size-settings {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.settings-screen .size-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.settings-screen .size-inputs input {
  width: 84px;
  text-align: center;
  font-weight: 700;
}

.settings-screen .size-inputs .input-width,
.settings-screen .size-inputs .input-height {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.settings-screen .size-inputs .input-width::after {
  content: 'Width';
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-muted);
}

.settings-screen .size-inputs .input-height::after {
  content: 'Height';
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-muted);
}

.settings-screen .size-checkboxes {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ==========================================================================
   Screen 3: Editor Screen
   ========================================================================== */

.workarea.editor-screen {
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-height: 600px;
  padding: 0 !important;
  max-width: 100% !important;
  background: #f8fafc;
}

.workarea.editor-screen .topbar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 100;
  flex-shrink: 0;
}

.topbar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  position: relative;
  user-select: none;
}

.topbar-btn:hover {
  background: var(--bg-subtle);
  border-color: #cbd5e1;
}

.topbar-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 200;
  min-width: 180px;
}

.topbar-menu .file-cta,
.topbar-menu-item {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
}

.topbar-menu .file-cta:hover,
.topbar-menu-item:hover {
  background: var(--bg-subtle);
}

.editor-screen .columns {
  flex: 1 1 auto;
  display: flex;
  gap: 12px;
  padding: 8px 12px;
  min-height: 0;
  margin: 0;
}

.editor-screen .column.editor {
  flex: 1 1 auto;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
}

.editor-tools {
  background: #0f172a;
  width: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 4px;
  gap: 6px;
  flex-shrink: 0;
}

.editor-tools input[type="radio"] {
  display: none;
}

.editor-tools svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  box-sizing: content-box;
}

.editor-tools input:hover + svg {
  background-color: #334155;
}

.editor-tools input:checked + svg {
  background-color: #ffffff;
  fill: #0f172a;
}

.brush-size-container {
  text-align: center;
  padding: 6px 4px;
  width: 40px;
  background: #ffffff;
  border-radius: 8px;
  margin-top: 4px;
}

.brush-size-shape {
  width: 16px;
  height: 16px;
  background: #0f172a;
  display: inline-block;
  border-radius: 50%;
}

.brush-size-string {
  font-size: 10px;
  font-weight: 700;
  color: #0f172a;
  display: block;
}

.brush-size-buttons {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  margin-top: 4px;
}

.brush-size-buttons i {
  cursor: pointer;
  font-size: 11px;
  color: #0f172a;
  padding: 2px 4px;
  background: #f1f5f9;
  border-radius: 4px;
}

.editor-eyedrop {
  margin-top: auto;
  width: 40px;
  height: 40px;
  border: 2px solid #38bdf8;
  border-radius: 8px;
  background: #1e293b;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
}

.editor-eyedrop img {
  width: 100%;
  height: 100%;
}

.editor-canvas {
  flex: 1 1 auto;
  height: 100%;
  background-color: #0b1223;
  overflow: hidden;
}

.editor-screen .info-panels {
  flex: 0 0 280px;
  max-width: 320px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-panels-blocks {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.info-panels-blocks-img {
  flex: 1;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow-y: auto;
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(30px, 1fr));
  gap: 4px;
  align-content: start;
}

.palette-tile {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.palette-tile:hover {
  border-color: var(--accent-blue);
  transform: scale(1.1);
  z-index: 5;
}

.palette-tile.is-active {
  border: 2px solid var(--accent-blue);
  box-shadow: 0 0 6px rgba(2, 132, 199, 0.4);
}

.palette-tile img {
  width: 24px;
  height: 24px;
}

.info-panels-history {
  flex: 0 0 160px;
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.info-panels-history-container {
  flex: 1;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow-y: auto;
  margin-top: 6px;
  padding: 4px;
}

.history-item {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-body);
  cursor: pointer;
}
.history-item.is-current {
  background: var(--accent-blue);
  color: #ffffff;
}

.workarea.editor-screen .footbar {
  background: #0f172a;
  color: #94a3b8;
  padding: 6px 16px;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-shrink: 0;
}

/* ==========================================================================
   Convert Drawer & Modals
   ========================================================================== */

.convert-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
}
.convert-drawer-overlay:not(.hidden) {
  display: block;
}

.convert-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
}

.convert-drawer {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(680px, 100vw);
  background: #ffffff;
  border-left: 1px solid var(--border-light);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.convert-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-light);
}

.convert-drawer-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.convert-drawer-close {
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-muted);
}
.convert-drawer-close::before {
  content: "×";
}

.convert-drawer-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 24px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: none;
  align-items: center;
  justify-content: center;
}
.modal.is-active {
  display: flex;
}

.modal-background {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  width: 90%;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-muted);
}
.modal-close::before {
  content: "×";
}

/* ==========================================================================
   Rich Content & SEO Guide Sections (1,000+ Words Minimalist Layout)
   ========================================================================== */

.content-section {
  padding: 80px 0;
  border-top: 1px solid var(--border-light);
  background: #ffffff;
}

.content-section.bg-subtle {
  background: var(--bg-body);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.prose-article {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-body);
}

.prose-article h3 {
  font-size: 1.45rem;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text-main);
}

.prose-article h4 {
  font-size: 1.15rem;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--text-main);
}

.prose-article ul, .prose-article ol {
  margin: 16px 0 24px 24px;
}

.prose-article li {
  margin-bottom: 8px;
}

.guide-step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.step-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* FAQ Accordion */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  gap: 24px;
}

.faq-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.faq-card h4 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.faq-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================================================
   Minimalist Footer
   ========================================================================== */

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 64px 0 32px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h4 {
  font-size: 1.15rem;
  margin-bottom: 14px;
  color: var(--text-main);
}

.footer-brand p {
  line-height: 1.6;
  max-width: 320px;
}

.footer-column h5 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-main);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
}
.footer-links a:hover {
  color: var(--text-main);
  text-decoration: none;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.2s ease;
  pointer-events: none;
}
.toast.is-show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .settings-screen .columns {
    flex-direction: column;
  }
  .settings-screen .image-column {
    flex: 1 1 auto;
    max-width: 100%;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .site-links {
    display: none;
  }
  .start-feature-grid {
    grid-template-columns: 1fr;
  }
}
