/* screen: landing — file upload, welcome layout */

.landing-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.landing-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 56px 24px 80px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 229, 176, 0.035) 0%, transparent 70%);
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */

.landing-hero {
  text-align: center;
  max-width: 640px;
  margin-bottom: 40px;
}

.hero-label {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.landing-hero h1 {
  font-family: var(--syne);
  font-size: 52px;
  font-weight: 800;
  color: var(--bright);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}

.hero-sub {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto;
}

/* ── Upload zone ───────────────────────────────────────────────────────────── */

.upload-zone {
  width: 100%;
  max-width: 560px;
  border: 2px dashed var(--border2);
  border-radius: 6px;
  padding: 52px 40px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  margin-bottom: 12px;
  background: var(--bg2);
}

.upload-zone:hover,
.upload-zone.drag-over {
  border-color: var(--accent);
  background: rgba(0, 229, 176, 0.04);
}

.upload-zone.drag-over { transform: scale(1.01); }

.upload-zone.loading {
  opacity: 0.65;
  cursor: wait;
  pointer-events: none;
}

.upload-icon {
  font-size: 28px;
  margin-bottom: 12px;
  color: var(--dim);
  transition: color 0.2s;
  line-height: 1;
}

.upload-zone:hover .upload-icon,
.upload-zone.drag-over .upload-icon { color: var(--accent); }

.upload-title {
  font-family: var(--syne);
  font-size: 15px;
  font-weight: 600;
  color: var(--bright);
  margin-bottom: 6px;
}

.upload-sub { font-size: 11px; color: var(--dim); }

.upload-zone input[type="file"] { display: none; }

/* ── Fallback button ───────────────────────────────────────────────────────── */

.upload-btn {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2px;
  padding: 10px 28px;
  border-radius: 3px;
  background: none;
  color: var(--accent);
  border: 1px solid rgba(0, 229, 176, 0.4);
  transition: all 0.15s;
  margin-bottom: 10px;
  display: block;
  width: 100%;
  max-width: 560px;
}

.upload-btn:hover {
  background: rgba(0, 229, 176, 0.08);
  border-color: var(--accent);
}

/* ── Pricing note ──────────────────────────────────────────────────────────── */

.upload-pricing-note {
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.5px;
  margin-bottom: 28px;
  text-align: center;
}

/* ── Error ─────────────────────────────────────────────────────────────────── */

.error-msg {
  width: 100%;
  max-width: 560px;
  background: rgba(255, 77, 106, 0.08);
  border: 1px solid rgba(255, 77, 106, 0.3);
  border-radius: 3px;
  padding: 10px 14px;
  font-size: 11px;
  color: var(--red);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ── Demo preview section ──────────────────────────────────────────────────── */

.demo-preview {
  width: 100%;
  max-width: 720px;
  margin-bottom: 48px;
}

.demo-label {
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--dim);
  text-align: center;
  margin-bottom: 12px;
}

.demo-preview .stats-row {
  border-radius: 4px 4px 0 0;
  margin-bottom: 0;
  border-bottom: none;
}

.demo-preview .stat-box {
  border-radius: 0;
  border-bottom: 1px solid var(--border);
}

.demo-preview .stat-box:first-child { border-radius: 4px 0 0 0; }
.demo-preview .stat-box:last-child  { border-radius: 0 4px 0 0; }

.demo-table-wrap {
  border: 1px solid var(--border);
  border-top: none;
  overflow-x: auto;
  background: var(--bg2);
}

/* ── Demo locked hint (skeleton + badge) ───────────────────────────────────── */

.demo-locked-hint {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 4px 4px;
  padding: 14px 16px;
  position: relative;
  min-height: 80px;
}

.demo-skel-rows {
  filter: blur(1px);
  opacity: 0.3;
  user-select: none;
  pointer-events: none;
}

.demo-skel-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}

.demo-skel-row:last-child { border-bottom: none; }

.demo-lock-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10px;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(13, 17, 23, 0.94);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--border2);
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.demo-caption {
  font-size: 9px;
  color: var(--dim);
  letter-spacing: 0.5px;
  text-align: center;
  margin-top: 8px;
  opacity: 0.65;
}

/* ── 3-step workflow ───────────────────────────────────────────────────────── */

.steps {
  display: flex;
  gap: 12px;
  max-width: 720px;
  width: 100%;
  margin-bottom: 36px;
}

.step {
  flex: 1;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 16px 14px;
}

.step-num {
  font-family: var(--syne);
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.45;
  margin-bottom: 8px;
}

.step-text { font-size: 11px; color: var(--dim); line-height: 1.7; }
.step-text em { color: var(--text); font-style: normal; }

/* ── Disclaimer ────────────────────────────────────────────────────────────── */

.disclaimer {
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.5px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 3px;
  text-align: center;
  max-width: 560px;
  width: 100%;
}

.disclaimer-icon { margin-right: 6px; color: var(--yellow); }

/* ── Responsive ────────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  .landing-hero h1 { font-size: 36px; }
  .steps { flex-direction: column; }

  .demo-preview .stats-row { grid-template-columns: 1fr 1fr; }
  .demo-preview .stat-box:first-child  { border-radius: 4px 0 0 0; }
  .demo-preview .stat-box:nth-child(2) { border-radius: 0 4px 0 0; }
  .demo-preview .stat-box:last-child   { border-radius: 0; }
}
