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

:root {
  --red: #E8272A;
  --red-light: #fff0f0;
  --red-dark: #b81e21;
  --ink: #111010;
  --ink2: #3a3838;
  --muted: #888;
  --border: #e8e4df;
  --surface: #faf9f7;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 2px 16px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Instrument Sans', sans-serif;
  background: var(--surface);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.6;
}

nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,249,247,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  height: 60px;
}
.nav-right {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end;
}
.nav-user {
  font-size: 13px; color: var(--ink2); font-weight: 500; max-width: 140px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nav-link {
  font-size: 13px; font-weight: 600; color: var(--ink2); text-decoration: none;
  padding: 6px 10px; border-radius: var(--radius-sm);
}
.nav-link:hover { color: var(--red); }
.nav-link-primary {
  background: var(--red); color: #fff !important;
}
.nav-link-primary:hover { background: var(--red-dark); color: #fff !important; }
.nav-logout-form { display: inline; margin: 0; }
.nav-link-btn {
  font-family: inherit; cursor: pointer; border: none; background: transparent;
}
.messages-banner {
  list-style: none; margin: 0; padding: 0;
}
.messages-banner__item {
  background: #ecfdf5; color: #065f46; font-size: 14px; padding: 10px 2rem;
  border-bottom: 1px solid #a7f3d0; text-align: center;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 18px;
  color: var(--ink); text-decoration: none;
}
.nav-logo-dot {
  width: 28px; height: 28px; background: var(--red);
  border-radius: 7px; display: flex; align-items: center; justify-content: center;
}
.nav-logo-dot svg { width: 16px; height: 16px; }
.nav-badge {
  font-size: 11px; font-weight: 600; letter-spacing: 0.05em;
  background: var(--red-light); color: var(--red);
  padding: 3px 8px; border-radius: 20px;
}

.hero {
  max-width: 860px; margin: 0 auto;
  padding: 5rem 2rem 3rem;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--red);
  background: var(--red-light); padding: 5px 12px; border-radius: 20px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: 'Syne', sans-serif; font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800; line-height: 1.1; color: var(--ink);
  margin-bottom: 1.2rem; letter-spacing: -0.02em;
}
.hero h1 span { color: var(--red); }
.hero p {
  font-size: 1.05rem; color: var(--ink2); max-width: 520px; margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.main-wrap { max-width: 860px; margin: 0 auto; padding: 0 2rem 6rem; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.card-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}
.card-step {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
  font-family: 'Syne', sans-serif;
}
.card-step.done { background: #22c55e; }
.card-title {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 15px;
}
.card-body { padding: 1.75rem; }
.card-body-upload { position: relative; }

.upload-progress-overlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.97);
  border-radius: inherit;
}
.upload-progress-overlay.hidden { display: none; }
.upload-progress-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 1rem;
}
.upload-progress-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
}
.upload-progress-detail {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 360px;
  margin-bottom: 1.25rem;
}
.upload-progress-bar {
  width: 100%;
  max-width: 320px;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.upload-progress-fill {
  display: block;
  height: 100%;
  width: 45%;
  background: var(--red);
  border-radius: 3px;
  animation: upload-progress-slide 1.35s ease-in-out infinite;
}
@keyframes upload-progress-slide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--surface);
  position: relative;
}
.upload-zone:hover, .upload-zone.drag { border-color: var(--red); background: var(--red-light); }
.upload-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.upload-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.upload-zone h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.upload-zone p { font-size: 13px; color: var(--muted); }
.upload-zone .format-hint {
  display: inline-block; margin-top: 12px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.07em;
  background: var(--border); color: var(--ink2);
  padding: 3px 10px; border-radius: 20px;
}

.divider { display: flex; align-items: center; gap: 12px; margin: 1.25rem 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.divider span { font-size: 12px; color: var(--muted); white-space: nowrap; }

.template-download-btn {
  width: 100%; padding: 11px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); cursor: pointer;
  font-family: 'Instrument Sans', sans-serif; font-size: 13px;
  color: var(--ink2); font-weight: 600;
  transition: all 0.15s; display: flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none;
}
.template-download-btn:hover { border-color: var(--red); background: var(--red-light); color: var(--red); }
.template-download-hint {
  font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.45; text-align: center;
}

.options-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.option-btn {
  padding: 14px 10px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: var(--surface);
  cursor: pointer; text-align: center;
  font-family: 'Instrument Sans', sans-serif; font-size: 13px; font-weight: 500;
  color: var(--ink); transition: all 0.15s;
}
.option-btn:hover { border-color: var(--ink2); background: var(--white); }
.option-btn.active { border-color: var(--red); background: var(--red-light); color: var(--red); }
.option-btn .icon { font-size: 1.5rem; display: block; margin-bottom: 6px; }

.swatch-grid { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch {
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  border: 3px solid transparent; transition: all 0.15s;
  position: relative;
}
.swatch:hover { transform: scale(1.1); }
.swatch.active { border-color: var(--ink); }
.swatch.active::after {
  content: '✓'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: white;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; font-weight: 600; color: var(--ink2); text-transform: uppercase; letter-spacing: 0.06em; }
.form-group input, .form-group select {
  padding: 10px 12px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: var(--surface);
  font-family: 'Instrument Sans', sans-serif; font-size: 14px; color: var(--ink);
  transition: border-color 0.15s; outline: none;
}
.form-group textarea {
  padding: 10px 12px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: var(--surface);
  font-family: 'Instrument Sans', sans-serif; font-size: 14px; color: var(--ink);
  transition: border-color 0.15s; outline: none; resize: vertical; min-height: 44px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--red); background: var(--white);
}

.products-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.products-count {
  font-size: 12px; font-weight: 600;
  background: var(--red-light); color: var(--red);
  padding: 3px 10px; border-radius: 20px;
}
.products-table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--border); }

.product-name-cell { max-width: 220px; line-height: 1.35; }
.product-img-cell { vertical-align: top; }
.product-img-stack {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  max-width: 118px;
  background: var(--white);
  border-radius: 6px;
}
.product-thumb {
  width: 48px; height: 48px; object-fit: contain; object-position: center;
  border-radius: 6px; border: 1px solid var(--border);
  background: var(--white); box-sizing: border-box;
}
.product-replace-label {
  font-size: 11px; font-weight: 600; color: var(--red); cursor: pointer;
  text-decoration: underline; text-underline-offset: 2px;
}
.product-replace-label input { display: none; }
.product-replace-status { font-size: 10px; color: var(--muted); min-height: 14px; }
.product-alt-toggle {
  font-size: 10px; font-weight: 600; padding: 4px 8px; margin-top: 2px;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--white); color: var(--ink); cursor: pointer;
  font-family: 'Instrument Sans', sans-serif;
}
.product-alt-toggle:hover { border-color: var(--red); color: var(--red); }
.product-alt-panel {
  margin-top: 6px; padding: 8px; width: 100%; max-width: 280px;
  border: 1px solid var(--border); border-radius: 8px; background: var(--surface);
  box-sizing: border-box;
}
.product-alt-panel.hidden { display: none; }
.product-alt-loading { font-size: 11px; color: var(--muted); margin: 4px 0; }
.product-alt-inner { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.product-alt-thumb {
  border: 2px solid transparent; padding: 0; margin: 0; background: var(--white);
  cursor: pointer; border-radius: 6px; line-height: 0;
}
.product-alt-thumb img {
  width: 44px; height: 44px; object-fit: contain; object-position: center;
  border-radius: 4px; border: 1px solid var(--border); display: block;
  background: var(--white); box-sizing: border-box;
}
.product-alt-thumb:hover { border-color: var(--red); }
.product-alt-hint { font-size: 10px; color: var(--muted); margin: 8px 0 0; line-height: 1.35; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
thead { background: var(--surface); }
th { padding: 10px 14px; text-align: left; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); border-bottom: 1px solid var(--border); }
td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
tr:last-child td { border-bottom: none; }
.price-was { color: var(--muted); text-decoration: line-through; }
.price-now { color: var(--red); font-weight: 600; }
.badge { background: #fef3c7; color: #92400e; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 20px; }
.product-actions-cell { text-align: right; vertical-align: middle; }
.product-remove-btn {
  font-size: 11px; font-weight: 600; padding: 5px 10px;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--white); color: var(--muted); cursor: pointer;
  font-family: 'Instrument Sans', sans-serif;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.product-remove-btn:hover:not(:disabled) {
  border-color: var(--red); color: var(--red); background: var(--red-light);
}
.product-remove-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.generate-btn {
  width: 100%; padding: 16px;
  background: var(--red); color: white;
  border: none; border-radius: var(--radius-sm);
  font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  letter-spacing: 0.01em;
}
.generate-btn:hover:not(:disabled) { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(232,39,42,0.3); }
.generate-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.loading-wrap { padding: 2rem; text-align: center; }
.loading-spinner { width: 40px; height: 40px; border: 3px solid var(--border); border-top-color: var(--red); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 1rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-wrap h3 { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.loading-wrap p { font-size: 13px; color: var(--muted); }
.progress-bar { height: 4px; background: var(--border); border-radius: 2px; margin-top: 1.5rem; overflow: hidden; }
.progress-fill { height: 100%; background: var(--red); border-radius: 2px; animation: progress 12s ease-out forwards; }
@keyframes progress { 0% { width: 0%; } 70% { width: 80%; } 100% { width: 92%; } }

.result-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.75rem; border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.result-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 15px; }
.toolbar-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.btn-outline {
  padding: 7px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: var(--white);
  font-family: 'Instrument Sans', sans-serif; font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all 0.15s; color: var(--ink);
}
.btn-outline:hover { border-color: var(--ink2); }
.btn-solid {
  padding: 7px 16px; border-radius: var(--radius-sm);
  border: none; background: var(--red); color: white;
  font-family: 'Instrument Sans', sans-serif; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.15s;
}
.btn-solid:hover { background: var(--red-dark); }
.job-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.job-step {
  flex: 1;
  min-width: 120px;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
}
.job-step:hover { border-color: var(--ink2); color: var(--ink); }
.job-step.active {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-light);
}
.job-step-panel.hidden { display: none; }

.canvas-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
}
.canvas-badge-label { font-weight: 700; color: var(--ink); }
.canvas-badge-meta { color: var(--muted); }

.canvas-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}
.canvas-option {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.canvas-option input { position: absolute; opacity: 0; pointer-events: none; }
.canvas-option.selected,
.canvas-option:has(input:checked) {
  border-color: var(--red);
  background: var(--red-light);
}
.canvas-option-title { font-weight: 600; font-size: 13px; }
.canvas-option-size { font-size: 11px; color: var(--muted); }

.poster-frame-wrap {
  background: #e8e4df;
  padding: 2rem;
  display: flex;
  justify-content: center;
  overflow-x: auto;
}
.poster-frame {
  width: 794px;
  height: 1123px;
  max-width: 100%;
  border: none;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  display: block;
  flex-shrink: 0;
  background: #fff;
}

.page-nav {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 1rem; border-top: 1px solid var(--border);
}
.page-btn {
  padding: 6px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: var(--white);
  font-size: 13px; cursor: pointer; transition: all 0.15s;
}
.page-btn:hover:not(:disabled) { border-color: var(--ink2); }
.page-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.page-info { font-size: 13px; color: var(--muted); font-weight: 500; }

.hidden { display: none !important; }

footer { text-align: center; padding: 2rem; font-size: 12px; color: var(--muted); border-top: 1px solid var(--border); }

.errorlist { color: var(--red); font-size: 13px; margin: 0.75rem 0 0; padding: 0; list-style: none; }
.ai-toggle {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--ink2);
  margin-top: 0.5rem;
}
.ai-toggle input { width: 18px; height: 18px; accent-color: var(--red); }

.missing-images-hint { font-size: 13px; color: var(--muted); margin: 0; }
.missing-images-list { display: flex; flex-direction: column; gap: 1.25rem; }
.missing-img-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  background: var(--surface);
}
.missing-img-block-head { font-size: 14px; margin-bottom: 10px; color: var(--ink); }
.missing-img-suggestions {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 12px; align-items: stretch;
}
.missing-suggestion {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 104px; padding: 8px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: var(--white);
  cursor: pointer; font-size: 11px; text-align: center; color: var(--ink2);
  font-family: inherit; transition: border-color 0.15s, box-shadow 0.15s;
}
.missing-suggestion:hover {
  border-color: var(--red); box-shadow: var(--shadow);
}
.missing-suggestion:disabled { opacity: 0.5; cursor: wait; }
.missing-suggestion img {
  width: 72px; height: 72px; object-fit: contain; object-position: center;
  border-radius: 6px; background: #fff; box-sizing: border-box;
}
.missing-suggestion span {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.35;
}
.missing-images-none { font-size: 12px; color: var(--muted); margin: 0 0 4px; width: 100%; }
.missing-img-upload {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
}
.missing-upload-label {
  cursor: pointer; font-size: 13px; font-weight: 600; color: var(--red);
}
.missing-upload-label input { display: none; }
.missing-upload-text {
  border-bottom: 1px dashed var(--red);
}
.missing-upload-msg { font-size: 12px; color: var(--muted); min-width: 80px; }

/* —— Landing page —— */
.page-landing {
  --landing-grid: rgba(17, 16, 16, 0.04);
  position: relative;
  overflow: hidden;
}
.page-landing::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--landing-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--landing-grid) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.page-landing > section { position: relative; z-index: 1; }

.landing-hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5.5rem) 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.landing-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.landing-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.landing-title span { color: var(--red); }
.landing-lead {
  font-size: 1.1rem;
  color: var(--ink2);
  line-height: 1.65;
  max-width: 420px;
  margin-bottom: 2rem;
}
.landing-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 2rem;
}
.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.landing-btn--primary {
  background: var(--red);
  color: #fff;
  border: none;
}
.landing-btn--primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232, 39, 42, 0.28);
  color: #fff;
}
.landing-btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.landing-btn--ghost:hover {
  border-color: var(--ink2);
  background: var(--white);
}
.landing-btn--wide { width: 100%; max-width: 320px; }
.landing-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.landing-trust li::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  transform: translateY(-1px);
}

.landing-hero__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}
.landing-stack {
  position: relative;
  width: min(100%, 300px);
  height: 340px;
}
.landing-poster {
  position: absolute;
  width: 220px;
  aspect-ratio: 210 / 297;
  background: var(--white);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 14px 12px;
  transition: transform 0.4s ease;
}
.landing-poster__head {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 6px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.landing-poster__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.landing-poster__grid--sm { grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.landing-poster__item {
  background: var(--surface);
  border-radius: 4px;
  padding: 8px 6px;
  text-align: center;
  border: 1px solid var(--border);
}
.landing-poster__item span {
  display: block;
  width: 100%;
  height: 28px;
  background: linear-gradient(135deg, #e8e4df 0%, #f5f3f0 100%);
  border-radius: 3px;
  margin-bottom: 6px;
}
.landing-poster__item em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
}
.landing-poster__hero-price {
  text-align: center;
  padding: 12px 0 8px;
}
.landing-poster__hero-price small {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.landing-poster__hero-price strong {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}
.landing-poster--back {
  left: 0;
  top: 24px;
  transform: rotate(-8deg);
  opacity: 0.55;
  z-index: 1;
}
.landing-poster--mid {
  left: 36px;
  top: 8px;
  transform: rotate(4deg);
  opacity: 0.8;
  z-index: 2;
}
.landing-poster--front {
  left: 72px;
  top: 0;
  transform: rotate(-2deg);
  z-index: 3;
}
.page-landing:hover .landing-poster--back { transform: rotate(-10deg) translateY(-4px); }
.page-landing:hover .landing-poster--mid { transform: rotate(6deg) translateY(-6px); }
.page-landing:hover .landing-poster--front { transform: rotate(0deg) translateY(-8px); }
.landing-stack-caption {
  margin-top: 1.5rem;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.landing-features {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.landing-feature {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
}
.landing-feature__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.landing-feature__icon svg { width: 22px; height: 22px; }
.landing-feature h2 {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.landing-feature p {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.55;
}

.landing-bottom {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
  text-align: center;
}
.landing-bottom__text {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.landing-footer {
  text-align: center;
  padding: 2rem;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
  .landing-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2.5rem;
  }
  .landing-lead { margin-left: auto; margin-right: auto; }
  .landing-cta { justify-content: center; }
  .landing-trust { justify-content: center; }
  .landing-hero__visual { order: -1; min-height: 300px; }
  .landing-stack { margin: 0 auto; }
  .landing-features { grid-template-columns: 1fr; max-width: 400px; }
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 3rem 1.25rem 2rem; }
  .main-wrap { padding: 0 1.25rem 4rem; }
  .card-body { padding: 1.25rem; }
  .landing-hero { padding-left: 1.25rem; padding-right: 1.25rem; }
  .landing-features, .landing-bottom { padding-left: 1.25rem; padding-right: 1.25rem; }
  .landing-stack { transform: scale(0.9); }
}
