/* LexFlow UI */

:root {
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --bg: #0b1020;
  --surface: rgba(14, 20, 34, 0.9);
  --surface-2: rgba(19, 28, 46, 0.94);
  --surface-3: rgba(255, 255, 255, 0.05);
  --surface-4: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.09);
  --border-2: rgba(255, 255, 255, 0.16);

  --text: #f3f6fb;
  --text-2: #c0c8d9;
  --muted: #8e98ad;
  --dim: #687287;

  --accent: #46e0a1;
  --accent-hover: #38c98e;
  --accent-soft: rgba(70, 224, 161, 0.12);
  --navy: #d7deeb;
  --navy-light: rgba(255, 255, 255, 0.06);
  --blue: #78a8ff;
  --blue-bg: rgba(120, 168, 255, 0.12);
  --green: #46e0a1;
  --green-bg: rgba(70, 224, 161, 0.12);
  --yellow: #f3c969;
  --yellow-bg: rgba(243, 201, 105, 0.12);
  --red: #ff8a8a;
  --red-bg: rgba(255, 138, 138, 0.12);

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  --shadow-lg: 0 24px 56px rgba(0, 0, 0, 0.36);

  --sidebar-w: 248px;
  --topbar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; }
body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
  background: var(--bg);
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--topbar-h);
  background: rgba(8, 12, 24, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 50;
}

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

.brand-mark {
  width: 32px;
  height: 32px;
  background: linear-gradient(180deg, #141b2e 0%, #0f1525 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.03em;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.03em;
}

.topnav {
  display: flex;
  gap: 18px;
  font-weight: 500;
  color: var(--text-2);
}

.topnav a:hover { color: var(--text); }
.topbar-cta { display: flex; align-items: center; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  transition: all 120ms ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #081018;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border-color: var(--border-2);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
}

.btn-ghost:hover { color: var(--text); }
.btn-lg { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-sm { min-height: 32px; padding: 0 12px; font-size: 12px; }

body.landing {
  position: relative;
  min-height: 100vh;
  padding-top: var(--topbar-h);
  background: #070b15;
  color: var(--text);
}

body.landing::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("./assets/eu-hero-bg.png") center center / cover no-repeat;
  transform: scale(1.02);
}

body.landing::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 11, 21, 0.72) 0%, rgba(7, 11, 21, 0.86) 38%, rgba(7, 11, 21, 0.96) 100%),
    linear-gradient(90deg, rgba(7, 11, 21, 0.82) 0%, rgba(7, 11, 21, 0.35) 48%, rgba(7, 11, 21, 0.78) 100%);
}

body.landing .topbar {
  background: rgba(7, 11, 21, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.landing .brand-name,
body.landing .topnav a { color: var(--text-2); }

body.landing .topnav a:hover { color: var(--text); }

.hero-section {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 92px 32px 52px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-title {
  max-width: 760px;
  font-family: var(--font-display);
  font-size: 62px;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.05em;
  color: var(--text);
  margin-bottom: 16px;
}

.hero-title em {
  font-style: normal;
  color: var(--text-2);
}

.hero-sub {
  font-size: 17px;
  color: var(--text-2);
  max-width: 600px;
  margin: 0 0 22px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
}

.hero-metrics,
.hero-metric-item,
.hero-metric-num,
.hero-metric-label,
.hero-metric-sep {
  display: none;
}

body.landing .section { padding: 28px 32px; }
body.landing .section-inner { max-width: 1120px; margin: 0 auto; }

body.landing .section-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
  color: var(--text);
}

body.landing .section-desc {
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.55;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

body.landing .step-card,
body.landing .feature-card {
  background: rgba(15, 21, 35, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: none;
  transition: border-color 120ms, background 120ms, transform 120ms;
  backdrop-filter: blur(10px);
}

body.landing .step-card:hover,
body.landing .feature-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(17, 24, 39, 0.88);
  transform: translateY(-1px);
}

body.landing .step-number {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: 0.08em;
}

body.landing .step-title,
body.landing .feature-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: -0.02em;
}

body.landing .step-desc,
body.landing .feature-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

body.landing .footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 32px 28px;
  background: rgba(7, 11, 21, 0.72);
}

body.landing .footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

body.dashboard {
  background: #050812;
  display: flex;
  min-height: 100vh;
  position: relative;
}

body.dashboard::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 10, 18, 0.78) 0%, rgba(7, 10, 18, 0.26) 40%, rgba(7, 10, 18, 0.58) 100%),
    linear-gradient(180deg, rgba(7, 10, 18, 0.14) 0%, rgba(7, 10, 18, 0.48) 100%),
    url("./assets/eu-hero-bg.png") center center / cover no-repeat;
  z-index: -2;
}

body.dashboard::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(7, 10, 18, 0.12) 100%);
  z-index: -1;
}

.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: rgba(8, 11, 20, 0.46);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 40;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  height: var(--topbar-h);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-nav {
  flex: 1;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 16px 12px 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  transition: all 120ms;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.nav-item.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.nav-item svg { flex-shrink: 0; }

.sidebar-footer {
  padding: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.user-info { min-width: 0; }

.user-name {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-role {
  font-size: 11px;
  color: var(--muted);
}

.dashboard-main {
  flex: 1;
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.dashboard-topbar {
  height: var(--topbar-h);
  background: rgba(8, 11, 20, 0.34);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
}

.topbar-breadcrumb {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
}

.topbar-breadcrumb strong { color: var(--text); font-weight: 600; }
.topbar-actions { display: flex; gap: 10px; }

.page-content {
  flex: 1;
  padding: 22px 24px 28px;
}

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.page-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.page-subtitle {
  font-size: 13px;
  color: var(--text-2);
  margin-top: 4px;
}

.card {
  background: rgba(11, 16, 28, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: none;
  backdrop-filter: blur(22px);
}

.card-header {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title { font-size: 14px; font-weight: 700; color: var(--text); }
.panel-subtitle {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}
.card-body { padding: 18px; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.stat-card {
  background: rgba(8, 12, 22, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 15px 16px;
  backdrop-filter: blur(20px);
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 8px;
}

.stat-value {
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.04em;
}

.table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 120px;
  gap: 12px;
  align-items: center;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

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

.table-row.header {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.03);
}

.table-row.clickable { cursor: pointer; }
.table-row.clickable:hover { background: rgba(255, 255, 255, 0.03); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.badge-blue { background: var(--blue-bg); color: var(--blue); }
.badge-blue::before { background: var(--blue); }
.badge-yellow { background: var(--yellow-bg); color: var(--yellow); }
.badge-yellow::before { background: var(--yellow); }
.badge-green { background: var(--green-bg); color: var(--green); }
.badge-green::before { background: var(--green); }
.badge-red { background: var(--red-bg); color: var(--red); }
.badge-red::before { background: var(--red); }
.badge-gray { background: rgba(255, 255, 255, 0.06); color: var(--text-2); }
.badge-gray::before { background: var(--dim); }

.dashboard-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(280px, 0.9fr);
  gap: 16px;
  align-items: start;
}

.queue-panel,
.stage-panel,
.spotlight-panel {
  overflow: hidden;
}

.queue-table {
  display: flex;
  flex-direction: column;
}

.queue-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.7fr) minmax(120px, 1fr) minmax(130px, 1fr) 90px 64px 96px;
  gap: 12px;
  align-items: center;
  padding: 14px 20px;
  font-size: 13px;
  color: var(--text-2);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.queue-head {
  border-top: none;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  font-weight: 700;
  padding-top: 12px;
  padding-bottom: 12px;
}

a.queue-row {
  transition: background 120ms ease;
}

a.queue-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.queue-client {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.queue-client strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.queue-client em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.dashboard-rail {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stage-stack,
.spotlight-list {
  padding: 14px 20px 18px;
}

.stage-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stage-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stage-row-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stage-row-copy strong {
  font-size: 13px;
  color: var(--text);
}

.stage-row-copy span {
  font-size: 12px;
  color: var(--muted);
}

.stage-row-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.stage-row-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #5f87ff 0%, #46e0a1 100%);
}

.spotlight-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spotlight-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.spotlight-item:first-child {
  border-top: none;
  padding-top: 0;
}

.spotlight-value {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}

.spotlight-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spotlight-copy strong {
  font-size: 13px;
  color: var(--text);
}

.spotlight-copy span {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.kanban-board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  align-items: start;
}

.kanban-column {
  background: rgba(10, 15, 27, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px;
  min-height: 360px;
  backdrop-filter: blur(16px);
}

.kanban-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}

.kanban-count {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
}

.kanban-card {
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  box-shadow: none;
  cursor: pointer;
  transition: transform 120ms, border-color 120ms, background 120ms;
}

.kanban-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(21, 29, 47, 0.96);
}

.kanban-card-title {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 6px;
}

.kanban-card-meta {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.kanban-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-group { margin-bottom: 16px; }

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(10, 15, 27, 0.88);
  color: var(--text);
  font-size: 13px;
  transition: border-color 120ms, box-shadow 120ms, background 120ms;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgba(70, 224, 161, 0.7);
  box-shadow: 0 0 0 3px rgba(70, 224, 161, 0.12);
}

.form-textarea { min-height: 100px; resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

body.portal,
body.auth {
  background:
    linear-gradient(180deg, rgba(6, 10, 20, 0.82) 0%, rgba(6, 10, 20, 0.92) 100%),
    url("./assets/eu-hero-bg.png") center center / cover no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.portal-card,
.auth-card {
  width: 100%;
  background: rgba(11, 16, 30, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.portal-card { max-width: 560px; overflow: hidden; }
.auth-card { max-width: 400px; padding: 32px; }

.portal-header {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  padding: 28px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-header h1,
.auth-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.portal-header p,
.auth-subtitle {
  color: var(--text-2);
  font-size: 13px;
}

.portal-header p { margin-top: 6px; }
.portal-body { padding: 28px; }

.portal-footer {
  padding: 16px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}

.auth-subtitle {
  text-align: center;
  margin: 8px 0 24px;
}

.auth-footer {
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.checklist-item.done {
  border-color: rgba(70, 224, 161, 0.3);
  background: rgba(70, 224, 161, 0.08);
}

.checklist-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.checklist-item.done .checklist-icon {
  border-color: var(--green);
  background: var(--green);
  color: #081018;
}

.checklist-text { font-size: 13px; font-weight: 500; }

.dropzone {
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  color: var(--text-2);
  transition: all 120ms;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
}

.dropzone:hover,
.dropzone.dragover {
  border-color: rgba(70, 224, 161, 0.6);
  background: rgba(70, 224, 161, 0.06);
}

.dropzone-title { font-weight: 600; margin-bottom: 6px; }
.dropzone-hint { font-size: 12px; }

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  transform: translateY(100px);
  opacity: 0;
  transition: all 200ms;
}

.toast.show { transform: translateY(0); opacity: 1; }
.toast-success { background: var(--green); color: #081018; }
.toast-error { background: #ff7d7d; color: #140909; }
.toast-info { background: #1a2336; color: #fff; }

@media (max-width: 1024px) {
  .hero-title { font-size: 50px; max-width: 640px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .dashboard-shell { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .topnav { display: none; }
  .topbar { padding: 0 16px; }
  .hero-section { padding: 76px 16px 42px; }
  .hero-title { font-size: 38px; }
  .hero-sub { font-size: 15px; }
  body.landing .section { padding: 22px 16px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .steps-grid,
  .features-grid,
  .stats-row,
  .form-row { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .dashboard-main { margin-left: 0; }
  .dashboard-topbar,
  .page-content { padding-left: 16px; padding-right: 16px; }
  .queue-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .queue-head { display: none; }
  .dashboard-rail { gap: 12px; }
}
