/* Luses Cloud — Pure Black & White Monochrome Enterprise UI */
:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface-2: #161616;
  --surface-3: #1d1d1d;
  --glass: rgba(10, 10, 10, 0.88);
  --border: #242424;
  --border-strong: #3a3a3a;
  --text: #fafafa;
  --muted: #9a9a9a;
  --dim: #6e6e6e;
  --accent: #00d4aa;
  --ok: #00d4aa;
  --warn: #f59e0b;
  --danger: #ef4444;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
::selection { background: rgba(0, 212, 170, 0.35); color: #ffffff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 999px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #454545; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: #ffffff; text-decoration: none; }
a:hover { text-decoration: underline; }
code, .mono { font-family: var(--font-mono); }
code {
  background: #181818;
  color: #ffffff;
  border: 1px solid #2a2a2a;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 0.88em;
}
.dim { color: var(--muted); }
.inline { display: inline; margin: 0; }
.icon-xs { width: 14px; height: 14px; flex-shrink: 0; }
.icon-sm { width: 16px; height: 16px; flex-shrink: 0; }
.icon-md { width: 20px; height: 20px; flex-shrink: 0; }
.ico-svg { width: 16px; height: 16px; flex-shrink: 0; }
.spin { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Status Dots & Badges ─────────────────────────────────────────────────── */
.status-dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(0, 212, 170, 0.55);
  display: inline-block; flex-shrink: 0;
}
.status-dot.is-warn { background: var(--warn); box-shadow: 0 0 8px rgba(245, 158, 11, 0.45); }
.status-dot.is-err { background: var(--danger); box-shadow: 0 0 8px rgba(239, 68, 68, 0.45); }
.status-dot.is-unk { background: var(--dim); box-shadow: none; }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 600; line-height: 1.3;
  background: #171717;
  color: var(--muted);
  border: 1px solid var(--border-strong);
}
.badge-ok { background: rgba(0, 212, 170, 0.1); color: var(--accent); border-color: rgba(0, 212, 170, 0.32); }
.badge-accent { background: rgba(0, 212, 170, 0.1); color: var(--accent); border-color: rgba(0, 212, 170, 0.32); }
.badge-warn { background: rgba(245, 158, 11, 0.1); color: var(--warn); border-color: rgba(245, 158, 11, 0.3); }
.badge-danger { background: rgba(239, 68, 68, 0.1); color: var(--danger); border-color: rgba(239, 68, 68, 0.32); }
.badge-mono { background: #ffffff; color: #0a0a0a; border-color: #ffffff; font-weight: 700; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border-radius: 8px; border: 1px solid transparent;
  font-family: var(--font-sans); font-weight: 600; font-size: 13px;
  padding: 9px 15px; cursor: pointer; text-decoration: none !important;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-lg { padding: 12px 22px; font-size: 14px; border-radius: 10px; }
.btn-sm { padding: 7px 13px; font-size: 12.5px; border-radius: 8px; }
.btn-xs { padding: 4px 9px; font-size: 11.5px; border-radius: 6px; }
.btn-full { width: 100%; }

.btn-primary {
  background: #ffffff;
  color: #0a0a0a;
  border-color: #ffffff;
  font-weight: 700;
}
.btn-primary:hover { background: #e5e5e5; border-color: #e5e5e5; }

.btn-secondary {
  background: var(--surface-2);
  color: #ffffff;
  border-color: var(--border-strong);
}
.btn-secondary:hover { background: var(--surface-3); border-color: #555555; }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--border);
}
.btn-ghost:hover { color: #ffffff; border-color: var(--border-strong); background: #161616; }
.btn-ghost.is-copied { color: var(--accent); border-color: rgba(0, 212, 170, 0.45); }

.btn-danger-outline {
  background: rgba(239, 68, 68, 0.08);
  color: var(--danger);
  border-color: rgba(239, 68, 68, 0.3);
}
.btn-danger-outline:hover { background: rgba(239, 68, 68, 0.18); }

/* ── Forms ────────────────────────────────────────────────────────────────── */
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 12px; font-weight: 600; color: var(--muted); }
.field-input, .field-select {
  width: 100%; padding: 10px 12px; border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg); color: var(--text);
  font-family: var(--font-sans); font-size: 13.5px;
  outline: none; transition: border-color 0.15s ease;
}
.field-input:focus, .field-select:focus { border-color: #ffffff; }
.pw-wrap { position: relative; }
.pw-wrap .field-input { padding-right: 44px; }
.pw-toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: transparent; border: none; cursor: pointer; font-size: 16px;
  color: var(--muted); padding: 4px 8px; line-height: 1;
  border-radius: 6px; transition: color 0.15s, background 0.15s;
}
.pw-toggle:hover { color: #ffffff; background: #1c1c1c; }
.field-input:disabled { opacity: 0.55; cursor: not-allowed; }
.field-input-sm, .field-select-sm { padding: 8px 11px; font-size: 12.5px; border-radius: 8px; }
.input-with-btn { display: flex; gap: 6px; align-items: stretch; }
.input-with-btn .field-input { flex: 1; min-width: 0; }

.alert {
  padding: 11px 14px; border-radius: 9px; font-size: 13px; margin-bottom: 16px;
  border: 1px solid var(--border);
}
.alert-ok { background: rgba(0, 212, 170, 0.08); border-color: rgba(0, 212, 170, 0.32); color: #b6f5e8; }
.alert-danger { background: rgba(239, 68, 68, 0.08); border-color: rgba(239, 68, 68, 0.35); color: #fecaca; }

/* ── Auth Views ───────────────────────────────────────────────────────────── */
.auth-shell {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 28px 16px; position: relative; overflow: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), transparent 55%), var(--bg);
}
.auth-glow {
  position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 480px; height: 260px; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.07), transparent 68%);
  filter: blur(44px);
}
.auth-center { width: 100%; max-width: 416px; position: relative; z-index: 1; }
.auth-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}
.auth-logo-hero {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  margin-bottom: 22px; gap: 10px;
}
.auth-brand-sub { margin: 0; font-size: 12px; color: var(--muted); }
.segmented-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--bg); padding: 4px; border-radius: 9px;
  border: 1px solid var(--border); margin-bottom: 18px;
}
.seg-tab {
  text-align: center; padding: 8px; border-radius: 6px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  text-decoration: none !important; transition: background 0.15s, color 0.15s;
}
.seg-tab.is-active { background: #202020; color: #ffffff; box-shadow: inset 0 0 0 1px #333333; }
.auth-heading h2 {
  margin: 0 0 6px; font-size: 1.06rem; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.auth-heading p { margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.auth-footer-note {
  text-align: center; margin: 16px 0 0; font-size: 12.5px; color: var(--dim);
  display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap;
}
.auth-footer-note a { color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.auth-footer-note a:hover { color: #ffffff; }

/* ── Console App Shell ────────────────────────────────────────────────────── */
.luses-shell { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
.luses-topbar {
  height: 58px; position: sticky; top: 0; z-index: 40;
  background: var(--glass); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.topbar-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.topbar-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; color: var(--text); }
.topbar-title { font-weight: 800; font-size: 15px; letter-spacing: -0.02em; }
.topbar-pill {
  font-size: 10px; padding: 2px 8px; border-radius: 999px;
  background: #1b1b1b; color: #d4d4d4;
  border: 1px solid var(--border-strong);
}
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.topbar-tunnel {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px; border-radius: 999px; font-size: 11.5px;
  background: #141414; color: #e5e5e5;
  border: 1px solid var(--border-strong); text-decoration: none !important;
  max-width: 270px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.topbar-tunnel:hover { border-color: #ffffff; color: #ffffff; }
.user-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px; border-radius: 999px; font-size: 12px;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
}
.btn-topbar-icon {
  background: transparent; border: 1px solid var(--border); color: var(--text);
  border-radius: 8px; width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.mobile-menu-btn { display: none; }

.luses-shell-body { flex: 1; display: flex; min-height: 0; }
.luses-sidebar {
  width: 244px; flex-shrink: 0;
  background: #0c0c0c; border-right: 1px solid var(--border);
  padding: 16px 12px; display: flex; flex-direction: column; gap: 16px;
}
.sidebar-mobile-head { display: none; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.sidebar-mobile-brand { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.sidebar-backdrop { display: none; }

.sidebar-cluster-card {
  background: #121212;
  border: 1px solid var(--border); border-radius: 10px; padding: 11px 12px;
}
.sidebar-cluster-top { display: flex; align-items: center; gap: 7px; font-size: 10.5px; color: #ffffff; font-weight: 700; }
.sidebar-cluster-sub { margin-top: 4px; font-size: 11.5px; color: var(--muted); }

.sidebar-nav { display: flex; flex-direction: column; gap: 16px; flex: 1; }
.sidebar-group-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--dim); padding: 0 10px 6px;
}
.sidebar-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px; border-radius: 8px;
  color: var(--muted); font-size: 13px; font-weight: 500;
  text-decoration: none !important; transition: background 0.14s, color 0.14s;
}
.sidebar-item:hover { background: #161616; color: #ffffff; }
.sidebar-item.is-active {
  background: #191919;
  color: #ffffff; font-weight: 600;
  box-shadow: inset 2px 0 0 #ffffff, inset 0 0 0 1px #2f2f2f;
}
.sidebar-label { flex: 1; }
.sidebar-badge {
  font-size: 10.5px; padding: 1px 7px; border-radius: 999px;
  background: #161616; color: var(--muted); border: 1px solid var(--border);
}

.sidebar-footer { border-top: 1px solid var(--border); padding-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.sidebar-user-card { display: flex; align-items: center; gap: 10px; }
.sidebar-user-avatar {
  width: 34px; height: 34px; border-radius: 8px; background: #ffffff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #0a0a0a; text-transform: uppercase; flex-shrink: 0;
}
.sidebar-user-meta { min-width: 0; display: flex; flex-direction: column; }
.sidebar-user-name { font-size: 12.5px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-email { font-size: 11px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.luses-main {
  flex: 1; min-width: 0; padding: 24px 28px 44px;
  display: flex; flex-direction: column; gap: 18px;
  background: var(--bg);
}

/* ── Console Page Header & Panels ─────────────────────────────────────────── */
.page-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.page-eyebrow { font-size: 10.5px; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; display: block; margin-bottom: 4px; }
.page-title-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.page-title { margin: 0; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.025em; }
.metrics-inline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.metric-chip {
  font-size: 11px; padding: 3px 9px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
}
.metric-chip.is-ok { color: var(--accent); border-color: rgba(0, 212, 170, 0.32); background: rgba(0, 212, 170, 0.08); }

.panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
}
.panel-accent { border-color: var(--border-strong); background: #121212; }
.panel-head {
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.panel-title { margin: 0; font-size: 15px; font-weight: 700; }
.panel-sub { margin: 3px 0 0; font-size: 12.5px; color: var(--muted); }
.panel-body { padding: 18px 20px; }

.subview-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tunnel-banner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.tunnel-kicker { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #ffffff; font-weight: 700; }
.tunnel-url-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.tunnel-link { font-size: 14px; font-weight: 700; color: #ffffff; text-decoration: underline; }

/* ── Server Cards & SSH Credentials ───────────────────────────────────────── */
.vm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.vm-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 18px; display: flex; flex-direction: column; gap: 13px;
  transition: border-color 0.16s;
}
.vm-card:hover { border-color: var(--border-strong); }
.vm-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.vm-card-title { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 700; }
.vm-badges { display: flex; align-items: center; gap: 6px; }
.vm-plan-line { font-size: 12px; margin-top: -6px; }

.spec-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.spec-pill {
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 10px; display: flex; flex-direction: column;
}
.spec-pill small { font-size: 10px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.05em; }
.spec-pill b { font-size: 14px; font-family: var(--font-mono); color: #ffffff; margin-top: 2px; }

.cred-box {
  background: var(--bg); border: 1px solid var(--border); border-radius: 9px;
  padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; font-size: 11.5px;
}
.cred-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cred-lbl { color: var(--dim); min-width: 78px; flex-shrink: 0; }
.cred-val {
  color: var(--text); flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cred-btns { display: inline-flex; gap: 4px; flex-shrink: 0; }

.ssh-cmd-strip {
  display: flex; align-items: center; gap: 8px; justify-content: space-between;
  background: #141414; border: 1px solid var(--border-strong);
  border-radius: 8px; padding: 7px 10px; font-size: 11px;
}
.ssh-cmd-txt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #e5e5e5; }
.vm-card-actions { padding-top: 2px; }

.empty-card {
  text-align: center; padding: 36px 20px; display: flex; flex-direction: column;
  align-items: center; gap: 10px; color: var(--muted);
}
.empty-card h3 { margin: 0; color: #ffffff; font-size: 1.08rem; }
.empty-card p { margin: 0; max-width: 440px; font-size: 13px; }
.empty-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

/* ── ADM Form & Tables ────────────────────────────────────────────────────── */
.adm-create-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px; align-items: end;
}
.field-submit { display: flex; justify-content: flex-end; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th {
  text-align: left; padding: 11px 16px; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--dim);
  border-bottom: 1px solid var(--border); background: #0d0d0d;
}
.data-table td {
  padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(255, 255, 255, 0.025); }

/* ── Terminal Stage ───────────────────────────────────────────────────────── */
.terminal-stage {
  display: flex; flex-direction: column; height: calc(100vh - 106px); min-height: 460px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.term-header {
  padding: 12px 16px; border-bottom: 1px solid var(--border); background: #0d0d0d;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.term-title-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.term-title { margin: 0; font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.term-sub { margin: 4px 0 0; font-size: 11.5px; color: var(--muted); }
.term-actions { display: flex; align-items: center; gap: 8px; }
.term-canvas-wrap { flex: 1; min-height: 0; padding: 8px; background: var(--bg); }
#term { width: 100%; height: 100%; }

/* ── Plans ────────────────────────────────────────────────────────────────── */
.plans-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plan-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 20px; display: flex; flex-direction: column; gap: 14px;
  transition: border-color 0.15s;
}
.plan-card:hover { border-color: var(--border-strong); }
.plan-card.is-featured {
  border-color: #ffffff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), var(--surface) 45%);
}
.plan-tag {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  padding: 3px 9px; border-radius: 999px;
  background: var(--surface-2); color: var(--muted); border: 1px solid var(--border-strong);
}
.plan-tag.is-primary { background: #ffffff; color: #0a0a0a; border-color: #ffffff; }
.plan-name { margin: 0; font-size: 1.12rem; font-weight: 800; }
.plan-price { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.02em; color: #ffffff; }
.plan-specs-table { display: flex; flex-direction: column; gap: 8px; font-size: 12px; flex: 1; }
.plan-spec-row {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 7px; border-bottom: 1px solid var(--border); color: var(--muted);
}
.plan-spec-row:last-child { border-bottom: none; padding-bottom: 0; }
.plan-spec-row strong { color: #ffffff; }
.plan-spec-row strong.is-accent { color: var(--accent); }

/* ── Landing Page (Pure Monochrome) ───────────────────────────────────────── */
.landing-page { position: relative; min-height: 100vh; overflow-x: hidden; background: var(--bg); }
.landing-bg-aura {
  position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 880px; height: 420px; pointer-events: none;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.065), transparent 68%);
  filter: blur(50px);
}
.landing-container { max-width: 1160px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.landing-navbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--glass); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.landing-nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.landing-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; color: #ffffff; }
.landing-brand-title { font-weight: 800; font-size: 16px; letter-spacing: -0.02em; }
.landing-nav-links { display: flex; align-items: center; gap: 24px; }
.landing-nav-link { font-size: 13.5px; font-weight: 500; color: var(--muted); text-decoration: none !important; }
.landing-nav-link:hover { color: #ffffff; }
.landing-nav-actions { display: flex; align-items: center; gap: 10px; }
.landing-mobile-toggle {
  display: none; background: transparent; border: 1px solid var(--border); color: var(--text);
  border-radius: 8px; width: 36px; height: 36px; align-items: center; justify-content: center; cursor: pointer;
}
.landing-mobile-drawer { display: none; padding: 14px 24px 20px; border-top: 1px solid var(--border); background: var(--surface); }
.landing-navbar.is-mobile-open .landing-mobile-drawer { display: block; }
.landing-mobile-links { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.landing-mobile-link { color: #ffffff; font-weight: 600; text-decoration: none !important; }
.landing-mobile-actions { display: flex; flex-direction: column; gap: 8px; }

.landing-hero { padding: 72px 0 54px; }
.hero-centered { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  background: #141414; border: 1px solid var(--border-strong); color: #e5e5e5;
  margin-bottom: 22px;
}
.hero-title {
  margin: 0; max-width: 820px; font-size: clamp(2.15rem, 4.6vw, 3.45rem);
  font-weight: 800; line-height: 1.06; letter-spacing: -0.035em; color: #ffffff;
}
.hero-title-muted {
  background: linear-gradient(180deg, #ffffff 25%, #8a8a8a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead {
  margin: 18px auto 30px; max-width: 650px; font-size: 1.04rem; color: var(--muted); line-height: 1.62;
}
.hero-cta-group { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 44px; }

.hero-preview-shell {
  width: 100%; max-width: 920px; text-align: left;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.78);
}
.hero-shell-bar {
  padding: 11px 16px; border-bottom: 1px solid var(--border); background: #0d0d0d;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.hero-dots { display: flex; gap: 6px; }
.hero-dots span { width: 9px; height: 9px; border-radius: 999px; background: #2f2f2f; }
.hero-shell-title { font-size: 12px; color: var(--muted); }
.hero-shell-grid { display: grid; grid-template-columns: 1.4fr 0.9fr; }
.hero-shell-code { padding: 20px 22px; font-size: 12.5px; line-height: 1.65; background: #080808; }
.hero-shell-code .p { color: var(--accent); }
.hero-shell-code .cmd { color: #ffffff; font-weight: 600; }
.hero-shell-code .dim-out { color: var(--muted); }
.hero-shell-code .term-accent { color: #ffffff; font-weight: 600; }
.hero-shell-code .sep { height: 10px; }
.hero-shell-stats {
  padding: 18px; border-left: 1px solid var(--border); background: var(--surface);
  display: flex; flex-direction: column; justify-content: center; gap: 11px;
}
.stat-tile {
  padding: 10px 12px; border-radius: 8px; background: var(--bg); border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 2px;
}
.stat-tile span { font-size: 10px; color: var(--dim); letter-spacing: 0.06em; }
.stat-tile strong { font-size: 12.5px; color: #ffffff; }
.stat-tile strong.is-accent { color: var(--accent); }

.landing-section { padding: 72px 0; }
.landing-section-alt { background: #0e0e0e; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); display: block; margin-bottom: 8px; }
.section-heading { margin: 0 0 10px; font-size: clamp(1.5rem, 2.8vw, 2.15rem); font-weight: 800; letter-spacing: -0.025em; }
.section-desc { margin: 0; color: var(--muted); font-size: 15px; max-width: 560px; }
.section-head-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head-center { text-align: center; margin-bottom: 36px; display: flex; flex-direction: column; align-items: center; }

.bento-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bento-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 24px; transition: border-color 0.15s;
}
.bento-card:hover { border-color: var(--border-strong); }
.bento-ico {
  width: 38px; height: 38px; border-radius: 9px; background: #181818;
  border: 1px solid var(--border-strong); color: #ffffff;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.bento-card h3 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 700; }
.bento-card p { margin: 0; color: var(--muted); font-size: 13.5px; }

.demo-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 32px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; align-items: center; gap: 9px; color: var(--text); font-size: 13.5px; }
.check-list svg { color: var(--accent); }
.demo-card { background: var(--bg); border: 1px solid var(--border-strong); border-radius: 12px; overflow: hidden; }
.demo-tabs { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--border); background: var(--surface); flex-wrap: wrap; }
.demo-tab {
  background: transparent; border: 1px solid transparent; color: var(--muted);
  padding: 6px 12px; border-radius: 7px; font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.demo-tab.is-active { background: #ffffff; border-color: #ffffff; color: #0a0a0a; }
.demo-body { padding: 18px 20px; font-size: 12.5px; line-height: 1.7; min-height: 150px; }
.demo-cmd-line { margin-bottom: 10px; color: #ffffff; font-weight: 600; }
.demo-cmd-line .p { color: var(--accent); margin-right: 8px; }
.demo-out { color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.demo-out .term-accent { color: #ffffff; font-weight: 600; }

.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.faq-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.faq-card h3 { margin: 0 0 8px; font-size: 15px; font-weight: 700; }
.faq-card p { margin: 0; color: var(--muted); font-size: 13.5px; }

.landing-footer { border-top: 1px solid var(--border); padding: 44px 0 60px; background: #070707; }
.landing-footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; align-items: start; }
.footer-tagline { margin: 12px 0 0; color: var(--dim); font-size: 13px; max-width: 340px; }
.footer-links-col { display: flex; flex-direction: column; gap: 8px; }
.footer-links-col a { color: var(--muted); font-size: 13px; }
.footer-links-col a:hover { color: #ffffff; }
.footer-meta-col { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.footer-status-badge {
  display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px;
  padding: 5px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--accent);
}
.footer-copy { margin: 0; color: var(--dim); font-size: 12px; }

.landing-mobile-sticky-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 45;
  padding: 10px 14px; background: var(--glass); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border); gap: 10px;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1040px) {
  .plans-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm-create-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .mobile-menu-btn { display: inline-flex; }
  .luses-sidebar {
    position: fixed; top: 0; left: -270px; bottom: 0; z-index: 60;
    transition: left 0.2s ease; box-shadow: 16px 0 40px rgba(0, 0, 0, 0.85);
  }
  .luses-sidebar.is-open { left: 0; }
  .sidebar-mobile-head { display: flex; }
  .sidebar-backdrop.is-open {
    display: block; position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, 0.72);
  }
  .luses-main { padding: 18px 16px 36px; }
  .hero-shell-grid, .demo-wrap, .bento-3, .faq-grid, .subview-grid-2, .landing-footer-inner { grid-template-columns: 1fr; }
  .hero-shell-stats { border-left: none; border-top: 1px solid var(--border); }
  .footer-meta-col { align-items: flex-start; text-align: left; }
  .landing-nav-links, .landing-nav-actions .btn { display: none; }
  .landing-mobile-toggle { display: inline-flex; }
  .topbar-tunnel, .user-pill { display: none; }
}
@media (max-width: 580px) {
  .plans-4, .adm-create-grid, .vm-grid { grid-template-columns: 1fr; }
  .landing-mobile-sticky-bar { display: flex; }
  .landing-footer { padding-bottom: 88px; }
}

/* ── Entrada sutil (respeita prefers-reduced-motion) ─────────────────────── */
@keyframes luses-fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.landing-hero .hero-pill,
.landing-hero .hero-title,
.landing-hero .hero-lead,
.landing-hero .hero-cta-group,
.landing-hero .hero-preview-shell { animation: luses-fade-up 0.55s ease both; }
.landing-hero .hero-title { animation-delay: 0.05s; }
.landing-hero .hero-lead { animation-delay: 0.1s; }
.landing-hero .hero-cta-group { animation-delay: 0.15s; }
.landing-hero .hero-preview-shell { animation-delay: 0.22s; }
.auth-card, .panel-head, .vm-card { animation: luses-fade-up 0.35s ease both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
