/* ============================================================
   Broken Arrow Consulting — Photo Log Atlas Builder
   Style Guide: Dark slate base, Inter typeface, gradient accents
   ============================================================ */

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

:root {
  --slate-dark:   #14181E;
  --slate-mid:    #1E2430;
  --slate-border: #2D3548;
  --body-text:    #A0A8B8;
  --white:        #FFFFFF;
  --orange:       #BF9555;
  --green:        #5E9B72;
  --teal:         #5E8B8A;
  --purple:       #7E6D94;
  --mauve:        #947068;
  --gradient: linear-gradient(90deg, #5E9B72, #5E8B8A, #7E6D94, #947068, #BF9555);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', 'Calibri', 'SF Pro Display', sans-serif;
  background-color: var(--slate-dark);
  color: var(--body-text);
  line-height: 1.6;
  min-height: 100vh;
}

/* --- Layout wrapper --------------------------------------- */
.app-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* --- Header ----------------------------------------------- */
.app-header {
  background-color: var(--slate-mid);
  border-bottom: 1px solid var(--slate-border);
}

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

.header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  height: 44px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

.app-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.app-subtitle {
  font-size: 13px;
  color: var(--body-text);
  margin-top: 3px;
}

.header-link {
  font-size: 12px;
  color: var(--orange);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  margin-top: 4px;
  opacity: 0.8;
  transition: opacity 0.15s;
}
.header-link:hover { opacity: 1; }

.gradient-bar {
  height: 3px;
  background: var(--gradient);
  width: 100%;
}

/* --- Main content ----------------------------------------- */
.app-main {
  flex: 1;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  padding: 32px 24px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --- Step cards ------------------------------------------- */
.step-card {
  background: var(--slate-mid);
  border: 1px solid var(--slate-border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  position: relative;
}

.step-card.hidden {
  display: none;
}

.step-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}

.step-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 14px;
  color: var(--body-text);
  margin-bottom: 20px;
  max-width: 640px;
  line-height: 1.55;
}

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.15s, opacity 0.15s, transform 0.1s;
  white-space: nowrap;
}

.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.btn-primary {
  background: var(--orange);
  color: var(--slate-dark);
}
.btn-primary:hover:not(:disabled) { background: #d4a962; }

.btn-secondary {
  background: var(--slate-border);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.08);
}
.btn-secondary:hover:not(:disabled) { background: #38425a; }

.btn-ghost {
  background: transparent;
  color: var(--body-text);
  border: 1px solid var(--slate-border);
  padding: 6px 12px;
  font-size: 13px;
}
.btn-ghost:hover { color: var(--white); border-color: var(--body-text); }

.btn-ghost-upload {
  background: transparent;
  color: var(--body-text);
  border: 1px dashed var(--slate-border);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s, border-color 0.15s;
}
.btn-ghost-upload:hover { color: var(--white); border-color: var(--body-text); }

.btn-extract {
  margin-top: 18px;
  padding: 12px 24px;
  font-size: 15px;
}

.btn-continue {
  margin-top: 20px;
}

.btn-generate {
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  margin-top: 8px;
}

/* --- Input row (select buttons) --------------------------- */
.input-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

/* --- Selection summary ------------------------------------ */
.selection-summary {
  background: rgba(94, 155, 114, 0.12);
  border: 1px solid rgba(94, 155, 114, 0.3);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--green);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 8px;
}

/* --- Extract status --------------------------------------- */
.extract-status {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  background: rgba(94, 155, 114, 0.1);
  border: 1px solid rgba(94, 155, 114, 0.25);
  color: var(--green);
}

.extract-warnings {
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  background: rgba(191, 149, 85, 0.1);
  border: 1px solid rgba(191, 149, 85, 0.25);
  color: var(--orange);
}

/* --- Advanced section ------------------------------------- */
.advanced-section {
  margin-top: 16px;
  border: 1px solid var(--slate-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.advanced-toggle {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--body-text);
  cursor: pointer;
  list-style: none;
  background: transparent;
  user-select: none;
}
.advanced-toggle::-webkit-details-marker { display: none; }
.advanced-toggle::before {
  content: '▶';
  font-size: 10px;
  margin-right: 8px;
  transition: transform 0.15s;
  display: inline-block;
}
details[open] .advanced-toggle::before { transform: rotate(90deg); }

.advanced-body {
  padding: 14px 16px;
  border-top: 1px solid var(--slate-border);
  background: rgba(0,0,0,0.15);
}

/* --- Form fields ------------------------------------------ */
.field-group {
  margin-bottom: 18px;
}

.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.field-optional {
  font-weight: 400;
  color: var(--body-text);
  font-size: 12px;
}

.field-hint {
  font-size: 12px;
  color: var(--body-text);
  margin-top: 6px;
  line-height: 1.5;
  opacity: 0.8;
}

.text-input {
  width: 100%;
  padding: 9px 12px;
  background: var(--slate-dark);
  border: 1px solid var(--slate-border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.15s;
  outline: none;
}
.text-input::placeholder { color: rgba(160,168,184,0.45); }
.text-input:focus { border-color: var(--orange); }

.select-input {
  width: 100%;
  padding: 9px 12px;
  background: var(--slate-dark);
  border: 1px solid var(--slate-border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23A0A8B8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.select-input:focus { border-color: var(--orange); }

/* --- Settings grid ---------------------------------------- */
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}
.settings-grid .field-group:last-child {
  grid-column: 1 / -1;
}

.settings-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--slate-border);
}

.settings-section-heading {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

/* --- Zoom slider ------------------------------------------ */
.zoom-field { }
.zoom-value {
  font-family: 'JetBrains Mono', monospace;
  color: var(--orange);
  font-size: 14px;
  font-weight: 600;
}

.zoom-slider {
  width: 100%;
  margin: 8px 0 4px;
  accent-color: var(--orange);
  cursor: pointer;
}

.zoom-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--body-text);
  opacity: 0.7;
}

/* --- Boundary status -------------------------------------- */
.boundary-status {
  margin-top: 8px;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-family: 'JetBrains Mono', monospace;
}
.boundary-status.ok {
  background: rgba(94,155,114,0.1);
  border: 1px solid rgba(94,155,114,0.25);
  color: var(--green);
}
.boundary-status.error {
  background: rgba(191,85,85,0.1);
  border: 1px solid rgba(191,85,85,0.25);
  color: #e87979;
}

/* --- Privacy notice --------------------------------------- */
.privacy-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(126,109,148,0.1);
  border: 1px solid rgba(126,109,148,0.25);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--body-text);
  line-height: 1.5;
  margin-top: 16px;
}
.privacy-notice svg { flex-shrink: 0; margin-top: 2px; color: var(--purple); }

/* --- Table toolbar ---------------------------------------- */
.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 12px;
}

.table-toolbar-actions {
  display: flex;
  gap: 8px;
}

.included-count {
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--orange);
}

/* --- Review table ----------------------------------------- */
.table-container {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--slate-border);
  border-radius: var(--radius-md);
}

#review-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

#review-table th {
  background: var(--slate-dark);
  color: var(--body-text);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--slate-border);
  white-space: nowrap;
}

#review-table td {
  padding: 9px 12px;
  border-bottom: 1px solid rgba(45,53,72,0.6);
  color: var(--body-text);
  vertical-align: middle;
  font-size: 13px;
}

#review-table tbody tr:last-child td {
  border-bottom: none;
}

#review-table tbody tr:hover td {
  background: rgba(255,255,255,0.025);
}

#review-table tbody tr.excluded td {
  opacity: 0.4;
}

.col-drag    { width: 28px; text-align: center; padding: 0 4px !important; }
.col-include { width: 60px; text-align: center; }
.col-thumb   { width: 72px; padding: 4px 6px !important; }

.row-thumb {
  display: block;
  width: 64px;
  height: 44px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid var(--slate-border);
  background: var(--slate-dark);
}
.col-num     { width: 70px; }
.col-name    { min-width: 160px; max-width: 240px; }
.col-date    { width: 110px; }
.col-coord   { width: 100px; font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.col-alt     { width: 90px; font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.col-yaw     { width: 70px; font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.col-comment { min-width: 180px; }

.drag-handle {
  cursor: grab;
  color: var(--muted-text, #64748b);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 4px;
  user-select: none;
  transition: color 0.15s;
}
.drag-handle:hover { color: var(--orange); }
.drag-handle:active { cursor: grabbing; }

#review-table tbody tr.drag-over td {
  border-top: 2px solid var(--orange);
}
#review-table tbody tr.dragging {
  opacity: 0.4;
}

/* --- Include checkbox ------------------------------------- */
.include-checkbox {
  width: 16px;
  height: 16px;
  accent-color: var(--orange);
  cursor: pointer;
}

/* --- Comment input ---------------------------------------- */
.comment-input {
  width: 100%;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: inherit;
  font-size: 13px;
  padding: 4px 7px;
  resize: none;
  min-height: 34px;
  transition: border-color 0.15s, background 0.15s;
  outline: none;
  line-height: 1.4;
}
.comment-input:hover {
  border-color: var(--slate-border);
  background: rgba(0,0,0,0.2);
}
.comment-input:focus {
  border-color: var(--orange);
  background: rgba(0,0,0,0.25);
}
.comment-input::placeholder { color: rgba(160,168,184,0.3); font-style: italic; }

/* --- File name cell --------------------------------------- */
.file-name-cell {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  word-break: break-all;
  color: var(--teal);
}

/* --- Generate section ------------------------------------- */
.generate-preview-info {
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--body-text);
}

.generate-error {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  background: rgba(191,85,85,0.1);
  border: 1px solid rgba(191,85,85,0.25);
  color: #e87979;
}

/* --- Layout toggle ---------------------------------------- */
.layout-toggle {
  display: flex;
  border: 1px solid var(--slate-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
  margin-bottom: 2px;
}

.layout-option {
  cursor: pointer;
}

.layout-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.layout-option-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--body-text);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  user-select: none;
  white-space: nowrap;
}

.layout-option:not(:last-child) .layout-option-btn {
  border-right: 1px solid var(--slate-border);
}

.layout-option input[type="radio"]:checked + .layout-option-btn {
  background: var(--orange);
  color: var(--slate-dark);
}

.layout-option:not(:has(input:checked)) .layout-option-btn:hover {
  background: rgba(255,255,255,0.05);
  color: var(--white);
}

/* --- Batch fill bar --------------------------------------- */
.batch-fill-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.batch-fill-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--body-text);
  white-space: nowrap;
}

.batch-fill-select {
  padding: 5px 10px;
  background: var(--slate-dark);
  border: 1px solid var(--slate-border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  outline: none;
}
.batch-fill-select:focus { border-color: var(--orange); }

.batch-fill-input {
  flex: 1;
  min-width: 180px;
  padding: 5px 10px;
  background: var(--slate-dark);
  border: 1px solid var(--slate-border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: inherit;
  font-size: 12px;
  outline: none;
}
.batch-fill-input::placeholder { color: rgba(160,168,184,0.4); }
.batch-fill-input:focus { border-color: var(--orange); }

/* --- Print instructions ----------------------------------- */
.print-instructions {
  margin-bottom: 20px;
}

.print-instructions-inner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(94, 155, 114, 0.08);
  border: 1px solid rgba(94, 155, 114, 0.25);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--body-text);
  line-height: 1.55;
}

.print-instructions-inner svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green);
}

.print-instructions-inner strong {
  color: var(--white);
}

.print-instructions-inner kbd {
  display: inline-block;
  padding: 1px 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  background: var(--slate-dark);
  border: 1px solid var(--slate-border);
  border-radius: 3px;
  color: var(--white);
}

/* --- Export row ------------------------------------------- */
.export-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* --- Footer ----------------------------------------------- */
.app-footer {
  background: var(--slate-mid);
  border-top: 1px solid var(--slate-border);
  margin-top: auto;
}

.footer-gradient {
  height: 2px;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-content {
  padding: 20px 24px;
  text-align: center;
}

.footer-cta {
  font-size: 14px;
  color: var(--body-text);
  margin-bottom: 6px;
}

.footer-link {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
}
.footer-link:hover { text-decoration: underline; }

.footer-copy {
  font-size: 12px;
  color: var(--body-text);
  opacity: 0.5;
}

/* --- Branding section ------------------------------------- */
.branding-section-wrap {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--slate-border);
}

.branding-summary {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  user-select: none;
  margin-bottom: 0;
}
.branding-summary::-webkit-details-marker { display: none; }
.branding-summary::before {
  content: '▶';
  font-size: 9px;
  color: var(--body-text);
  transition: transform 0.15s;
  display: inline-block;
  order: -1;
}
details[open] .branding-summary::before { transform: rotate(90deg); }

.branding-body {
  margin-top: 16px;
}

/* --- Logo upload ------------------------------------------ */
.logo-upload-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.logo-preview {
  height: 36px;
  max-width: 120px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--slate-border);
  padding: 3px 6px;
}

.btn-clear-logo {
  padding: 4px 8px;
  font-size: 12px;
  line-height: 1;
}

/* --- Color picker ----------------------------------------- */
.color-picker-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.accent-color-picker {
  width: 40px;
  height: 36px;
  border: 1px solid var(--slate-border);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  padding: 2px;
  flex-shrink: 0;
}

.color-hex-input {
  flex: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}

/* --- Checkbox --------------------------------------------- */
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--body-text);
  line-height: 1.45;
}

.checkbox-input {
  width: 15px;
  height: 15px;
  accent-color: var(--orange);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Export unlock panel ---------------------------------- */
.export-unlock-panel {
  margin-bottom: 20px;
  padding: 20px 22px;
  background: rgba(191, 149, 85, 0.06);
  border: 1px solid rgba(191, 149, 85, 0.22);
  border-radius: var(--radius-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.btn-unlock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid var(--orange);
  background: transparent;
  color: var(--orange);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.btn-unlock:hover:not(:disabled) {
  background: var(--orange);
  color: var(--slate-dark);
}
.btn-unlock:disabled { opacity: 0.4; cursor: not-allowed; }

.export-unlocked-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: rgba(94, 155, 114, 0.15);
  border: 1px solid rgba(94, 155, 114, 0.4);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}

.export-hint {
  width: 100%;
  font-size: 12px;
  color: var(--body-text);
  opacity: 0.7;
  margin: 0;
  line-height: 1.45;
}

/* --- Utility ---------------------------------------------- */
.hidden { display: none !important; }

/* --- Smooth scroll ---------------------------------------- */
html { scroll-behavior: smooth; }

/* === LANDING SECTION ====================================== */

/* Sticky nav */
.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(20, 24, 30, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-border);
  transform: translateY(-110%);
  transition: transform 0.22s ease;
  pointer-events: none;
}
.sticky-nav.visible {
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sticky-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sticky-nav-logo {
  height: 22px;
  width: auto;
  opacity: 0.9;
}
.sticky-nav-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}
.sticky-nav-btn {
  padding: 7px 18px;
  font-size: 13px;
}

/* Landing wrapper */
.landing {
  width: 100%;
}

/* Shared inner container */
.landing-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero */
.landing-hero {
  background: var(--slate-dark);
  background-image: radial-gradient(ellipse 90% 55% at 50% -10%, rgba(94, 155, 114, 0.14) 0%, transparent 70%);
  padding: 76px 0 68px;
  border-bottom: 1px solid var(--slate-border);
}

.landing-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(191, 149, 85, 0.1);
  border: 1px solid rgba(191, 149, 85, 0.25);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 24px;
}

.landing-headline {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 700px;
  margin-bottom: 20px;
}

.landing-sub {
  font-size: 16px;
  color: var(--body-text);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 34px;
}

.landing-cta {
  padding: 13px 30px;
  font-size: 15px;
  font-weight: 700;
}

/* Value props */
.landing-props-section {
  background: var(--slate-mid);
  border-bottom: 1px solid var(--slate-border);
  padding: 44px 0;
}

.landing-props {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 40px;
}

.landing-props li {
  font-size: 14px;
  color: var(--body-text);
  padding-left: 22px;
  position: relative;
  line-height: 1.55;
}

.landing-props li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
}

.landing-props li strong {
  color: var(--white);
  font-weight: 600;
}

/* Use cases */
.landing-usecases-section {
  background: var(--slate-dark);
  border-bottom: 1px solid var(--slate-border);
  padding: 60px 0;
}

.landing-section-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.015em;
  margin-bottom: 28px;
  text-align: center;
}

.landing-usecases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.usecase-tile {
  background: var(--slate-mid);
  border: 1px solid var(--slate-border);
  border-radius: var(--radius-md);
  padding: 28px 20px 24px;
  text-align: center;
  transition: border-color 0.15s;
}
.usecase-tile:hover {
  border-color: rgba(191, 149, 85, 0.35);
}

.usecase-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(191, 149, 85, 0.1);
  border: 1px solid rgba(191, 149, 85, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--orange);
}

.usecase-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}

.usecase-desc {
  font-size: 12px;
  color: var(--body-text);
  line-height: 1.55;
}

/* Custom work CTA */
.landing-custom-section {
  background: var(--slate-mid);
  padding: 52px 0;
}

.landing-custom-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  background: var(--slate-dark);
  border: 1px solid var(--slate-border);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
}

.landing-custom-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.landing-custom-text {
  flex: 1;
}

.landing-custom-text p {
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.65;
  max-width: 520px;
}

.landing-custom-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* --- Responsive ------------------------------------------- */
@media (max-width: 768px) {
  .landing-usecases {
    grid-template-columns: 1fr 1fr;
  }
  .landing-custom-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    gap: 8px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .settings-grid .field-group:last-child {
    grid-column: 1;
  }
  .step-card {
    padding: 20px 18px;
  }
  .app-main {
    padding: 20px 16px 40px;
  }
  .landing-props {
    grid-template-columns: 1fr;
  }
  .landing-hero {
    padding: 52px 0 48px;
  }
  .landing-usecases {
    grid-template-columns: 1fr;
  }
  .sticky-nav-name {
    display: none;
  }
}
